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>
This commit is contained in:
Paul Mundt
2009-06-14 23:21:54 +09:00
parent 6f2ea72975
commit f8f06bc74b
3 changed files with 3 additions and 9 deletions

View File

@@ -39,7 +39,6 @@ static inline int generic_irq_demux(int irq)
return irq;
}
#define irq_canonicalize(irq) (irq)
#define irq_demux(irq) sh_mv.mv_irq_demux(irq)
void init_IRQ(void);
@@ -54,6 +53,7 @@ extern void irq_ctx_exit(int cpu);
# define irq_ctx_exit(cpu) do { } while (0)
#endif
#include <asm-generic/irq.h>
#ifdef CONFIG_CPU_SH5
#include <cpu/irq.h>
#endif