diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-29 22:16:36 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 16:39:06 +0200 |
commit | 40f08a724fcc21285cf3a75aec957aef908605c6 (patch) | |
tree | 387ad0603dc1d1f257130edace4d02a4f763b840 /drivers/isdn/hisax/hisax.h | |
parent | 154cd387cdf0e5566ce523cbddf92dd2a062dfd6 (diff) | |
download | op-kernel-dev-40f08a724fcc21285cf3a75aec957aef908605c6.zip op-kernel-dev-40f08a724fcc21285cf3a75aec957aef908605c6.tar.gz |
isdn: hisax: Replace the bogus access to irq stats
Abusing irq stats in a driver for counting interrupts is a horrible
idea and not safe with shared interrupts. Replace it by a local
interrupt counter.
Noticed by the attempt to remove the irq stats export.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/isdn/hisax/hisax.h')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 832a878..32ab392 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h @@ -959,6 +959,7 @@ struct IsdnCardState { u_long event; struct work_struct tqueue; struct timer_list dbusytimer; + unsigned int irq_cnt; #ifdef ERROR_STATISTIC int err_crc; int err_tx; |