]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:07 +0000 (12:45 -0700)
commitb584b3505db0b94c231014a6d3aa3c5a72298660
tree9c7204b0eba8004ffcaa56845c86ba07ee0be554
parentb1d02fe72b50877d5d106b1bafa5d908bbcfa68b
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>
drivers/isdn/hisax/config.c
drivers/isdn/hisax/hisax.h