Skip to content

Commit d25f1d5

Browse files
bebarinoKevin Hilman
authored andcommitted
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>
1 parent b44653b commit d25f1d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/arm/plat-versatile/sched-clock.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
static void __iomem *ctr;
2828

29-
static u32 notrace versatile_read_sched_clock(void)
29+
static u64 notrace versatile_read_sched_clock(void)
3030
{
3131
if (ctr)
3232
return readl(ctr);
@@ -37,5 +37,5 @@ static u32 notrace versatile_read_sched_clock(void)
3737
void __init versatile_sched_clock_init(void __iomem *reg, unsigned long rate)
3838
{
3939
ctr = reg;
40-
setup_sched_clock(versatile_read_sched_clock, 32, rate);
40+
sched_clock_register(versatile_read_sched_clock, 32, rate);
4141
}

0 commit comments

Comments
 (0)