提交 a34c7e3e 编写于 作者: P 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: NPaul Mundt <lethal@linux-sh.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册