mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 15:09:53 +00: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
@ -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 New Issue
Block a user