diff options
author | Frank Seidel <frank@f-seidel.de> | 2009-05-22 07:04:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 03:51:32 -0400 |
commit | 44e095897d745a03d71611fd318f26d8b12a4771 (patch) | |
tree | 2baba3c8504868ba4b95472a2846f5e60ee3a2eb /drivers/isdn/mISDN | |
parent | 7cfa153dd709f15188fe84b78ae76387841fe17b (diff) |
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>
Diffstat (limited to 'drivers/isdn/mISDN')
-rw-r--r-- | drivers/isdn/mISDN/dsp_cmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c index 58c43e429f73..ac84146326e2 100644 --- a/drivers/isdn/mISDN/dsp_cmx.c +++ b/drivers/isdn/mISDN/dsp_cmx.c | |||
@@ -1592,7 +1592,8 @@ dsp_cmx_send(void *arg) | |||
1592 | struct dsp_conf_member *member; | 1592 | struct dsp_conf_member *member; |
1593 | struct dsp *dsp; | 1593 | struct dsp *dsp; |
1594 | int mustmix, members; | 1594 | int mustmix, members; |
1595 | s32 mixbuffer[MAX_POLL+100], *c; | 1595 | static s32 mixbuffer[MAX_POLL+100]; |
1596 | s32 *c; | ||
1596 | u8 *p, *q; | 1597 | u8 *p, *q; |
1597 | int r, rr; | 1598 | int r, rr; |
1598 | int jittercheck = 0, delay, i; | 1599 | int jittercheck = 0, delay, i; |