]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: Use generic sched_clock().
authorPaul Mundt <lethal@linux-sh.org>
Sun, 14 Jun 2009 10:48:48 +0000 (19:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 14 Jun 2009 10:48:48 +0000 (19:48 +0900)
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>
arch/sh/kernel/time.c

index 0eecbe855f5c8d6bd646e7eeaccf1c54a0f6b773..960d9abd10585ceb4cc9f7cc4692af0960e61953 100644 (file)
@@ -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)