diff options
Diffstat (limited to 'arch/arm/plat-versatile')
-rw-r--r-- | arch/arm/plat-versatile/sched-clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-versatile/sched-clock.c b/arch/arm/plat-versatile/sched-clock.c index 51b109e3b6c3..c966ae90f4a0 100644 --- a/arch/arm/plat-versatile/sched-clock.c +++ b/arch/arm/plat-versatile/sched-clock.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | static void __iomem *ctr; | 27 | static void __iomem *ctr; |
28 | 28 | ||
29 | static u32 notrace versatile_read_sched_clock(void) | 29 | static u64 notrace versatile_read_sched_clock(void) |
30 | { | 30 | { |
31 | if (ctr) | 31 | if (ctr) |
32 | return readl(ctr); | 32 | return readl(ctr); |
@@ -37,5 +37,5 @@ static u32 notrace versatile_read_sched_clock(void) | |||
37 | void __init versatile_sched_clock_init(void __iomem *reg, unsigned long rate) | 37 | void __init versatile_sched_clock_init(void __iomem *reg, unsigned long rate) |
38 | { | 38 | { |
39 | ctr = reg; | 39 | ctr = reg; |
40 | setup_sched_clock(versatile_read_sched_clock, 32, rate); | 40 | sched_clock_register(versatile_read_sched_clock, 32, rate); |
41 | } | 41 | } |