]> 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)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:06 +0000 (11:58 -0700)
commitd5ea92235e005b6715ad5acc17f8517134f9571f
tree39df1c36e0f4e296680220c418dfc3bbcda682de
parenta453138cc592112d08b51ba97c77c8de60c8be91
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
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