提交 44e09589 编写于 作者: F Frank Seidel 提交者: David S. Miller

mISDN: Reduce stack size in dsp_cmx_send()

Reduce stack size memory footprint of mISDN_dsp.
(From 1468 bytes for dsp_cmx_send on i386 down to 44).
Signed-off-by: NFrank Seidel <frank@f-seidel.de>
Signed-off-by: NAndreas Eversberg <andreas@eversberg.eu>
Signed-off-by: NKarsten Keil <keil@b1-systems.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7cfa153d
......@@ -104,7 +104,7 @@
* If unsure, don't give this parameter.
*
* dslot:
* NOTE: only one poll value must be given for every card.
* NOTE: only one dslot value must be given for every card.
* Also this value must be given for non-E1 cards. If omitted, the E1
* card has D-channel on time slot 16, which is default.
* If 1..15 or 17..31, an alternate time slot is used for D-channel.
......
......@@ -1592,7 +1592,8 @@ dsp_cmx_send(void *arg)
struct dsp_conf_member *member;
struct dsp *dsp;
int mustmix, members;
s32 mixbuffer[MAX_POLL+100], *c;
static s32 mixbuffer[MAX_POLL+100];
s32 *c;
u8 *p, *q;
int r, rr;
int jittercheck = 0, delay, i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册