]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:43 +0000 (12:46 -0400)
commitf0964b2858475aa010557a1236e8990f4b64e459
tree8a0f91549e4f78b79f61a8f8e1b023f13071d4d7
parentc14b55cd3067feb77ce8b745d49a043a45f50f44
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/isdn/hisax/config.c
drivers/isdn/hisax/hisax.h