sh: asm/irq.h needs asm/cpu/irq.h.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 Feb 2008 11:16:47 +0000 (20:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:12 +0000 (14:22 +0900)
The SH-5 build currently fails when trying to build the i8042 code due
to the missing IRQ definitions. These are provided in asm/cpu/irq.h, so
just include that there to get it building again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/irq.h

index 11850f65c92216d510f7b242e990ebe33b4a82ff..ca66e5df69dc14d623a7e643de5c27bdcbf29813 100644 (file)
@@ -50,4 +50,8 @@ extern void irq_ctx_exit(int cpu);
 # define irq_ctx_exit(cpu) do { } while (0)
 #endif
 
+#ifdef CONFIG_CPU_SH5
+#include <asm/cpu/irq.h>
+#endif
+
 #endif /* __ASM_SH_IRQ_H */