aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/time.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 19:48:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 19:48:48 +0900
commita34c7e3e7b0e7db67ffef21ba3056eb2f807ba4a (patch)
tree621bc74b3f7257acb72ff911c8e93efa83ceac9a /arch/sh/kernel/time.c
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/kernel/time.c')
-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 0eecbe855f5..960d9abd105 100644
--- a/arch/sh/kernel/time.c
+++ b/arch/sh/kernel/time.c
@@ -91,11 +91,6 @@ module_init(rtc_generic_init);
void (*board_time_init)(void);
-unsigned long long sched_clock(void)
-{
- return (jiffies_64 - INITIAL_JIFFIES) * (NSEC_PER_SEC / HZ);
-}
-
void __init time_init(void)
{
if (board_time_init)