aboutsummaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/hisax.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-29 22:16:36 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 09:46:41 -0500
commit9ea93dcc3f83a7c6ad1660fe23ee0cf691941f67 (patch)
treec1ad3d3e826cf04b481d39dfb90bcfc0376691e7 /drivers/isdn/hisax/hisax.h
parent4dd117b9e4bda38bff030f24b43f8f769ec1551e (diff)
isdn: hisax: Replace the bogus access to irq stats
commit 40f08a724fcc21285cf3a75aec957aef908605c6 upstream. 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> Cc: maximilian attems <max@stro.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 0685c194696..85cf4205d7d 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;