Commit 6b2a0558 authored by Jamie Iles's avatar Jamie Iles

ARM: picoxcell: fix sched_clock() cleanup fallout

Commit 2f0778af (ARM: 7205/2: sched_clock: allow sched_clock to be
selected at runtime) replaced the picoxcell specific sched_clock() with
a generic runtime selectable version but replaced "unsigned long long
notrace sched_clock(void)" with "unsigned u32 notrace
picoxcell_read_sched_clock(void)" fix this up to return a u32 as
expected.

Cc: Marc Zyngier <Marc.Zyngier@arm.com>
Signed-off-by: default avatarJamie Iles <jamie@jamieiles.com>
parent ef3a0bf5
...@@ -67,7 +67,7 @@ static void picoxcell_add_clocksource(struct device_node *source_timer) ...@@ -67,7 +67,7 @@ static void picoxcell_add_clocksource(struct device_node *source_timer)
static void __iomem *sched_io_base; static void __iomem *sched_io_base;
unsigned u32 notrace picoxcell_read_sched_clock(void) static u32 picoxcell_read_sched_clock(void)
{ {
return __raw_readl(sched_io_base); return __raw_readl(sched_io_base);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment