浏览代码

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>
Paul Mundt 16 年之前
父节点
当前提交
a34c7e3e7b
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      arch/sh/kernel/time.c

+ 0 - 5
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)