diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 10:21:54 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 10:21:54 -0400 |
commit | f8f06bc74b5afbb434b8f3982db19acdbf48dee9 (patch) | |
tree | 69599c78e1394f2a4f1ec6990b4f8515a88fe254 /arch/sh/include/asm/irq.h | |
parent | 6f2ea729756e09aa02d5ceb395c2a67323948ab2 (diff) |
sh: Tidy up duplication in irq/swab/timex.h.
The asm-generic versions have some helper definitions that we can use
instead, drop our definitions and use those instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/irq.h')
-rw-r--r-- | arch/sh/include/asm/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/irq.h b/arch/sh/include/asm/irq.h index a2b8c99cc06f..df8e1500527c 100644 --- a/arch/sh/include/asm/irq.h +++ b/arch/sh/include/asm/irq.h | |||
@@ -39,7 +39,6 @@ static inline int generic_irq_demux(int irq) | |||
39 | return irq; | 39 | return irq; |
40 | } | 40 | } |
41 | 41 | ||
42 | #define irq_canonicalize(irq) (irq) | ||
43 | #define irq_demux(irq) sh_mv.mv_irq_demux(irq) | 42 | #define irq_demux(irq) sh_mv.mv_irq_demux(irq) |
44 | 43 | ||
45 | void init_IRQ(void); | 44 | void init_IRQ(void); |
@@ -54,6 +53,7 @@ extern void irq_ctx_exit(int cpu); | |||
54 | # define irq_ctx_exit(cpu) do { } while (0) | 53 | # define irq_ctx_exit(cpu) do { } while (0) |
55 | #endif | 54 | #endif |
56 | 55 | ||
56 | #include <asm-generic/irq.h> | ||
57 | #ifdef CONFIG_CPU_SH5 | 57 | #ifdef CONFIG_CPU_SH5 |
58 | #include <cpu/irq.h> | 58 | #include <cpu/irq.h> |
59 | #endif | 59 | #endif |