Skip to content

Commit

Permalink
sh: asm/irq.h needs asm/cpu/irq.h.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Feb 14, 2008
1 parent e8ea024 commit c7a49dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-sh/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit c7a49dd

Please sign in to comment.