summaryrefslogtreecommitdiff
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-22 18:55:21 +0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 22:32:27 +0400
commit80b47346b0c83edab5d183376b41e9968bd5ac32 (patch)
tree4f51d042ad575f4f3654a5503d1893076658743a /include/asm-mips
parent0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 (diff)
downloadlinux-80b47346b0c83edab5d183376b41e9968bd5ac32.tar.xz
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')
-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 */