aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/irq.c
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2005-11-17 16:27:44 -0500
committerKyle McMartin <kyle@parisc-linux.org>2005-11-17 16:27:44 -0500
commit1d4c452a85503cdb4bca5925cf698b61d3aa43a0 (patch)
treecd2c786aa4dbab46d4aa394ffdaa8cd52387d894 /arch/parisc/kernel/irq.c
parentd911aed8adf74e1fae88d082b8474b2175b7f1da (diff)
[PARISC] Fix uniprocessor build by dummying smp_send_all_nop()
Since irq.c uses smp_send_all_nop, we must define it for UP builds as well. Make it a static inline so it gets optimized away. This forces irq.c to include <asm/smp.h> though. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/irq.c')
-rw-r--r--arch/parisc/kernel/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index 3998c0cb925b..865611c15531 100644
--- a/arch/parisc/kernel/irq.c
+++ b/arch/parisc/kernel/irq.c
@@ -31,6 +31,8 @@
31#include <linux/spinlock.h> 31#include <linux/spinlock.h>
32#include <linux/types.h> 32#include <linux/types.h>
33 33
34#include <asm/smp.h>
35
34#undef PARISC_IRQ_CR16_COUNTS 36#undef PARISC_IRQ_CR16_COUNTS
35 37
36extern irqreturn_t timer_interrupt(int, void *, struct pt_regs *); 38extern irqreturn_t timer_interrupt(int, void *, struct pt_regs *);