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 <[email protected]>
Signed-off-by: Andreas Eversberg <[email protected]>
Signed-off-by: Karsten Keil <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Frank Seidel 2009-05-22 11:04:47 +00:00 • committed by David S. Miller
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;