diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-13 22:29:24 +0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-07-25 05:20:41 +0400 |
commit | 8c9f08f9de38c9af3a946faf0cccd7fc46978443 (patch) | |
tree | 8aa45d55e13f2cb43d960823a41c3e1ecec8f57e /arch/m68k/platform/68328 | |
parent | 739735d5fea3c3997b2a659068a618b07bc9a73a (diff) | |
download | linux-8c9f08f9de38c9af3a946faf0cccd7fc46978443.tar.xz |
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 <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/68328')
-rw-r--r-- | arch/m68k/platform/68328/entry.S | 2 | ||||
-rw-r--r-- | arch/m68k/platform/68328/ints.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/m68k/platform/68328/entry.S b/arch/m68k/platform/68328/entry.S index 4ed7a65d5aa0..293e1eba9acc 100644 --- a/arch/m68k/platform/68328/entry.S +++ b/arch/m68k/platform/68328/entry.S @@ -236,7 +236,7 @@ ret_from_interrupt: * Handler for uninitialized and spurious interrupts. */ ENTRY(bad_interrupt) - addql #1,num_spurious + addql #1,irq_err_count rte /* diff --git a/arch/m68k/platform/68328/ints.c b/arch/m68k/platform/68328/ints.c index 22acb60b541a..4bd456531f91 100644 --- a/arch/m68k/platform/68328/ints.c +++ b/arch/m68k/platform/68328/ints.c @@ -70,9 +70,6 @@ asmlinkage irqreturn_t inthandler7(void); extern e_vector *_ramvec; -/* The number of spurious interrupts */ -volatile unsigned int num_spurious; - /* The 68k family did not have a good way to determine the source * of interrupts until later in the family. The EC000 core does * not provide the vector number on the stack, we vector everything |