Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a34c7e3e authored by Paul Mundt's avatar Paul Mundt
Browse files

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)