From 8c9f08f9de38c9af3a946faf0cccd7fc46978443 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Wed, 13 Jul 2011 20:29:24 +0200 Subject: m68k: Revive reporting of spurious interrupts commit 2502b667ea835ee16685c74b2a0d89ba8afe117a ("Change the m68knommu irq handling to use the generic irq framework.") removed the reporting of spurious interrupts on nommu (68328 and 68360). Bring it back in a generic way, using "atomic_t irq_err_count", as that's what most of the other architectures are using. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Ungerer --- arch/m68k/platform/68360/entry.S | 2 +- arch/m68k/platform/68360/ints.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'arch/m68k/platform/68360') diff --git a/arch/m68k/platform/68360/entry.S b/arch/m68k/platform/68360/entry.S index 0ede6702127a..abbb89672ea0 100644 --- a/arch/m68k/platform/68360/entry.S +++ b/arch/m68k/platform/68360/entry.S @@ -157,7 +157,7 @@ ret_from_interrupt: * Handler for uninitialized and spurious interrupts. */ bad_interrupt: - addql #1,num_spurious + addql #1,irq_err_count rte /* diff --git a/arch/m68k/platform/68360/ints.c b/arch/m68k/platform/68360/ints.c index 44443820d208..7b40202d9638 100644 --- a/arch/m68k/platform/68360/ints.c +++ b/arch/m68k/platform/68360/ints.c @@ -34,9 +34,6 @@ asmlinkage void inthandler(void); extern void *_ramvec[]; -/* The number of spurious interrupts */ -volatile unsigned int num_spurious; - static void intc_irq_unmask(struct irq_data *d) { pquicc->intr_cimr |= (1 << d->irq); -- cgit v1.2.2