summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hisax.h
diff options
context:
space:
mode:
authorThomas Gleixner2010-09-29 22:16:36 +0200
committerThomas Gleixner2010-10-12 16:39:06 +0200
commit40f08a724fcc21285cf3a75aec957aef908605c6 (patch)
tree387ad0603dc1d1f257130edace4d02a4f763b840 /drivers/isdn/hisax/hisax.h
parentgenirq: Remove early_init_irq_lock_class() (diff)
downloadkernel-qcow2-linux-40f08a724fcc21285cf3a75aec957aef908605c6.tar.gz
kernel-qcow2-linux-40f08a724fcc21285cf3a75aec957aef908605c6.tar.xz
kernel-qcow2-linux-40f08a724fcc21285cf3a75aec957aef908605c6.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h
index 832a87855ffb..32ab3924aa73 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;