aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 06:48:48 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 06:48:48 -0400
commita34c7e3e7b0e7db67ffef21ba3056eb2f807ba4a (patch)
tree621bc74b3f7257acb72ff911c8e93efa83ceac9a /arch/sh
parent1d29ebebcb951ab6b04d22807cafb24b893310a2 (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/sh')
-rw-r--r--arch/sh/kernel/time.c5
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
92void (*board_time_init)(void); 92void (*board_time_init)(void);
93 93
94unsigned long long sched_clock(void)
95{
96 return (jiffies_64 - INITIAL_JIFFIES) * (NSEC_PER_SEC / HZ);
97}
98
99void __init time_init(void) 94void __init time_init(void)
100{ 95{
101 if (board_time_init) 96 if (board_time_init)