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: Frank Seidel <frank@f-seidel.de>
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Frank Seidel 2009-05-22 11:04:47 +00:00 committed by David S. Miller
parent 7cfa153dd7
commit 44e095897d
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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;