summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-22 16:55:21 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:32:27 +0200
commit80b47346b0c83edab5d183376b41e9968bd5ac32 (patch)
tree4f51d042ad575f4f3654a5503d1893076658743a /include
parentsmc91x platform support; requires patch to smc91x.h which was sent (diff)
downloadlinux-80b47346b0c83edab5d183376b41e9968bd5ac32.tar.xz
linux-80b47346b0c83edab5d183376b41e9968bd5ac32.zip
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')
-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 000000000000..f8579696ca54
--- /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 */