diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/asm/irq.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/swab.h | 3 | ||||
-rw-r--r-- | arch/sh/include/asm/timex.h | 7 |
3 files changed, 3 insertions, 9 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 |
diff --git a/arch/sh/include/asm/swab.h b/arch/sh/include/asm/swab.h index 0e08fe54ad71..1cd09767a7a3 100644 --- a/arch/sh/include/asm/swab.h +++ b/arch/sh/include/asm/swab.h | |||
@@ -7,8 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | #include <linux/compiler.h> | 8 | #include <linux/compiler.h> |
9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
10 | 10 | #include <asm-generic/swab.h> | |
11 | #define __SWAB_64_THRU_32__ | ||
12 | 11 | ||
13 | static inline __attribute_const__ __u32 __arch_swab32(__u32 x) | 12 | static inline __attribute_const__ __u32 __arch_swab32(__u32 x) |
14 | { | 13 | { |
diff --git a/arch/sh/include/asm/timex.h b/arch/sh/include/asm/timex.h index a873e24113cf..b556d49e5f2b 100644 --- a/arch/sh/include/asm/timex.h +++ b/arch/sh/include/asm/timex.h | |||
@@ -8,11 +8,6 @@ | |||
8 | 8 | ||
9 | #define CLOCK_TICK_RATE (CONFIG_SH_PCLK_FREQ / 4) /* Underlying HZ */ | 9 | #define CLOCK_TICK_RATE (CONFIG_SH_PCLK_FREQ / 4) /* Underlying HZ */ |
10 | 10 | ||
11 | typedef unsigned long long cycles_t; | 11 | #include <asm-generic/timex.h> |
12 | |||
13 | static __inline__ cycles_t get_cycles (void) | ||
14 | { | ||
15 | return 0; | ||
16 | } | ||
17 | 12 | ||
18 | #endif /* __ASM_SH_TIMEX_H */ | 13 | #endif /* __ASM_SH_TIMEX_H */ |