diff options
author | Karsten Keil <isdn@linux-pingi.de> | 2012-04-25 22:54:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-26 09:10:45 +0200 |
commit | 9cf6ace5f5c7981f5df76af3e1b90d77cc3cdece (patch) | |
tree | 893417c150ee33709babe214087f0203c2e0377c /drivers/isdn/mISDN/dsp_cmx.c | |
parent | mISDN: Fix division by zero (diff) | |
download | linux-9cf6ace5f5c7981f5df76af3e1b90d77cc3cdece.tar.xz linux-9cf6ace5f5c7981f5df76af3e1b90d77cc3cdece.zip |
mISDN: DSP scheduling fix (version 2)
dsp_spl_jiffies need to be the same datatype as jiffies (which is ulong).
If not, on 64 bit systems it will fallback to schedule the DSP every jiffie
tic as soon jiffies become > 2^32.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN/dsp_cmx.c')
-rw-r--r-- | drivers/isdn/mISDN/dsp_cmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c index 0c104b976835..a4f05c54c32b 100644 --- a/drivers/isdn/mISDN/dsp_cmx.c +++ b/drivers/isdn/mISDN/dsp_cmx.c @@ -1624,7 +1624,7 @@ send_packet: static u32 jittercount; /* counter for jitter check */ struct timer_list dsp_spl_tl; -u32 dsp_spl_jiffies; /* calculate the next time to fire */ +unsigned long dsp_spl_jiffies; /* calculate the next time to fire */ static u16 dsp_count; /* last sample count */ static int dsp_count_valid; /* if we have last sample count */ |