isdn: hisax: Replace the bogus access to irq stats
authorThomas Gleixner <tglx@linutronix.de>
Wed, 29 Sep 2010 20:16:36 +0000 (22:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:46:41 +0000 (09:46 -0500)
commit9ea93dcc3f83a7c6ad1660fe23ee0cf691941f67
treec1ad3d3e826cf04b481d39dfb90bcfc0376691e7
parent4dd117b9e4bda38bff030f24b43f8f769ec1551e
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>
drivers/isdn/hisax/config.c
drivers/isdn/hisax/hisax.h