diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 06:48:48 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 06:48:48 -0400 |
commit | a34c7e3e7b0e7db67ffef21ba3056eb2f807ba4a (patch) | |
tree | 621bc74b3f7257acb72ff911c8e93efa83ceac9a /arch | |
parent | 1d29ebebcb951ab6b04d22807cafb24b893310a2 (diff) |
sh: Use generic sched_clock().
The generic sched_clock() handles INITIAL_JIFFIES now as well, so we can
just use that instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/time.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index 0eecbe855f5c..960d9abd1058 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c | |||
@@ -91,11 +91,6 @@ module_init(rtc_generic_init); | |||
91 | 91 | ||
92 | void (*board_time_init)(void); | 92 | void (*board_time_init)(void); |
93 | 93 | ||
94 | unsigned long long sched_clock(void) | ||
95 | { | ||
96 | return (jiffies_64 - INITIAL_JIFFIES) * (NSEC_PER_SEC / HZ); | ||
97 | } | ||
98 | |||
99 | void __init time_init(void) | 94 | void __init time_init(void) |
100 | { | 95 | { |
101 | if (board_time_init) | 96 | if (board_time_init) |