瀏覽代碼

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
Ralf Baechle 19 年之前
父節點
當前提交
80b47346b0
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      include/asm-mips/mach-mips/irq.h

+ 14 - 0
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 */