aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Seidel <frank@f-seidel.de>2009-05-22 07:04:47 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-25 03:51:32 -0400
commit44e095897d745a03d71611fd318f26d8b12a4771 (patch)
tree2baba3c8504868ba4b95472a2846f5e60ee3a2eb
parent7cfa153dd709f15188fe84b78ae76387841fe17b (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>
-rw-r--r--drivers/isdn/hardware/mISDN/hfcmulti.c2
-rw-r--r--drivers/isdn/mISDN/dsp_cmx.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c
index 3a7c26ce12cf..fc76f401a4d3 100644
--- a/drivers/isdn/hardware/mISDN/hfcmulti.c
+++ b/drivers/isdn/hardware/mISDN/hfcmulti.c
@@ -104,7 +104,7 @@
104 * If unsure, don't give this parameter. 104 * If unsure, don't give this parameter.
105 * 105 *
106 * dslot: 106 * dslot:
107 * NOTE: only one poll value must be given for every card. 107 * NOTE: only one dslot value must be given for every card.
108 * Also this value must be given for non-E1 cards. If omitted, the E1 108 * Also this value must be given for non-E1 cards. If omitted, the E1
109 * card has D-channel on time slot 16, which is default. 109 * card has D-channel on time slot 16, which is default.
110 * If 1..15 or 17..31, an alternate time slot is used for D-channel. 110 * If 1..15 or 17..31, an alternate time slot is used for D-channel.
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;