Commit 44e09589 authored by Frank Seidel's avatar Frank Seidel Committed by 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: default avatarFrank Seidel <frank@f-seidel.de>
Signed-off-by: default avatarAndreas Eversberg <andreas@eversberg.eu>
Signed-off-by: default avatarKarsten Keil <keil@b1-systems.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7cfa153d
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
* If unsure, don't give this parameter. * If unsure, don't give this parameter.
* *
* dslot: * 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 * 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. * 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. * If 1..15 or 17..31, an alternate time slot is used for D-channel.
......
...@@ -1592,7 +1592,8 @@ dsp_cmx_send(void *arg) ...@@ -1592,7 +1592,8 @@ dsp_cmx_send(void *arg)
struct dsp_conf_member *member; struct dsp_conf_member *member;
struct dsp *dsp; struct dsp *dsp;
int mustmix, members; int mustmix, members;
s32 mixbuffer[MAX_POLL+100], *c; static s32 mixbuffer[MAX_POLL+100];
s32 *c;
u8 *p, *q; u8 *p, *q;
int r, rr; int r, rr;
int jittercheck = 0, delay, i; int jittercheck = 0, delay, i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment