aboutsummaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-22 14:55:21 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:27 +0100
commit80b47346b0c83edab5d183376b41e9968bd5ac32 (patch)
tree4f51d042ad575f4f3654a5503d1893076658743a /include/asm-mips/mach-mips
parent0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 (diff)
SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h new file mode 100644
Diffstat (limited to 'include/asm-mips/mach-mips')
-rw-r--r--include/asm-mips/mach-mips/irq.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h
new file mode 100644
index 00000000000..f8579696ca5
--- /dev/null
+++ b/include/asm-mips/mach-mips/irq.h
@@ -0,0 +1,14 @@
+#ifndef __ASM_MACH_MIPS_IRQ_H
+#define __ASM_MACH_MIPS_IRQ_H
+
+#include <linux/config.h>
+
+#define NR_IRQS 256
+
+#ifdef CONFIG_SMP
+
+#define ARCH_HAS_IRQ_PER_CPU
+
+#endif
+
+#endif /* __ASM_MACH_MIPS_IRQ_H */