Commit a34c7e3e authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1d29ebeb
...@@ -91,11 +91,6 @@ module_init(rtc_generic_init); ...@@ -91,11 +91,6 @@ module_init(rtc_generic_init);
void (*board_time_init)(void); 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) void __init time_init(void)
{ {
if (board_time_init) if (board_time_init)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment