ARM: versatile: Switch to sched_clock_register()
The 32 bit sched_clock interface now supports 64 bits. Upgrade to the 64 bit function to allow us to remove the 32 bit registration interface. Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Kevin Hilman <khilman@linaro.org>
This commit is contained in:
parent
b44653baed
commit
d25f1d5a30
|
@ -26,7 +26,7 @@
|
|||
|
||||
static void __iomem *ctr;
|
||||
|
||||
static u32 notrace versatile_read_sched_clock(void)
|
||||
static u64 notrace versatile_read_sched_clock(void)
|
||||
{
|
||||
if (ctr)
|
||||
return readl(ctr);
|
||||
|
@ -37,5 +37,5 @@ static u32 notrace versatile_read_sched_clock(void)
|
|||
void __init versatile_sched_clock_init(void __iomem *reg, unsigned long rate)
|
||||
{
|
||||
ctr = reg;
|
||||
setup_sched_clock(versatile_read_sched_clock, 32, rate);
|
||||
sched_clock_register(versatile_read_sched_clock, 32, rate);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue