mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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>
This commit is contained in:
parent
1d29ebebcb
commit
a34c7e3e7b
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue