git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
m68k
/
hp300
/
ints.c
diff --git
a/arch/m68k/hp300/ints.c
b/arch/m68k/hp300/ints.c
index
9fe4a96
..
0c5bb40
100644
(file)
--- a/
arch/m68k/hp300/ints.c
+++ b/
arch/m68k/hp300/ints.c
@@
-57,14
+57,21
@@
static irqreturn_t hp300_int_handler(int irq, void *dev_id, struct pt_regs *fp)
return IRQ_HANDLED;
}
return IRQ_HANDLED;
}
+static irqreturn_t hp300_badint(int irq, void *dev_id, struct pt_regs *fp)
+{
+ num_spurious += 1;
+ return IRQ_NONE;
+}
+
irqreturn_t (*hp300_default_handler[SYS_IRQS])(int, void *, struct pt_regs *) = {
irqreturn_t (*hp300_default_handler[SYS_IRQS])(int, void *, struct pt_regs *) = {
- [0] = hp300_
int_handler
,
+ [0] = hp300_
badint
,
[1] = hp300_int_handler,
[2] = hp300_int_handler,
[3] = hp300_int_handler,
[4] = hp300_int_handler,
[5] = hp300_int_handler,
[6] = hp300_int_handler,
[1] = hp300_int_handler,
[2] = hp300_int_handler,
[3] = hp300_int_handler,
[4] = hp300_int_handler,
[5] = hp300_int_handler,
[6] = hp300_int_handler,
+ [7] = hp300_int_handler
};
/* dev_id had better be unique to each handler because it's the only way we have
};
/* dev_id had better be unique to each handler because it's the only way we have