diff options
Diffstat (limited to 'arch/arm/common/timer-sp.c')
-rw-r--r-- | arch/arm/common/timer-sp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index ce922d0ea7aa..53c6a26b633d 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c | |||
@@ -66,7 +66,7 @@ static long __init sp804_get_clock_rate(struct clk *clk) | |||
66 | 66 | ||
67 | static void __iomem *sched_clock_base; | 67 | static void __iomem *sched_clock_base; |
68 | 68 | ||
69 | static u32 sp804_read(void) | 69 | static u64 notrace sp804_read(void) |
70 | { | 70 | { |
71 | return ~readl_relaxed(sched_clock_base + TIMER_VALUE); | 71 | return ~readl_relaxed(sched_clock_base + TIMER_VALUE); |
72 | } | 72 | } |
@@ -104,7 +104,7 @@ void __init __sp804_clocksource_and_sched_clock_init(void __iomem *base, | |||
104 | 104 | ||
105 | if (use_sched_clock) { | 105 | if (use_sched_clock) { |
106 | sched_clock_base = base; | 106 | sched_clock_base = base; |
107 | setup_sched_clock(sp804_read, 32, rate); | 107 | sched_clock_register(sp804_read, 32, rate); |
108 | } | 108 | } |
109 | } | 109 | } |
110 | 110 | ||