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/timex.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/timex.h')
-rw-r--r-- | arch/sh/include/asm/timex.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/include/asm/timex.h b/arch/sh/include/asm/timex.h index a873e24113c..b556d49e5f2 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 */ |