diff options
author | Jamie Iles <jamie@jamieiles.com> | 2012-01-09 13:10:56 -0500 |
---|---|---|
committer | Jamie Iles <jamie@jamieiles.com> | 2012-01-09 16:04:44 -0500 |
commit | 6b2a05584c5939eba24d22037dcb4cc71e5345e5 (patch) | |
tree | 3b72a89c5fe93f6d6fe635b71716be137f07d49b /arch/arm | |
parent | ef3a0bf5bfadbace156fa2a3b9c753df2de41df2 (diff) |
ARM: picoxcell: fix sched_clock() cleanup fallout
Commit 2f0778afa (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: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-picoxcell/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-picoxcell/time.c b/arch/arm/mach-picoxcell/time.c index 6c89cf8ab22e..2ecba6743b8e 100644 --- a/arch/arm/mach-picoxcell/time.c +++ b/arch/arm/mach-picoxcell/time.c | |||
@@ -67,7 +67,7 @@ static void picoxcell_add_clocksource(struct device_node *source_timer) | |||
67 | 67 | ||
68 | static void __iomem *sched_io_base; | 68 | static void __iomem *sched_io_base; |
69 | 69 | ||
70 | unsigned u32 notrace picoxcell_read_sched_clock(void) | 70 | static u32 picoxcell_read_sched_clock(void) |
71 | { | 71 | { |
72 | return __raw_readl(sched_io_base); | 72 | return __raw_readl(sched_io_base); |
73 | } | 73 | } |