aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-orion
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-orion')
-rw-r--r--arch/arm/plat-orion/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-orion/time.c b/arch/arm/plat-orion/time.c
index 11e2583e85e4..123f96f4194f 100644
--- a/arch/arm/plat-orion/time.c
+++ b/arch/arm/plat-orion/time.c
@@ -55,7 +55,7 @@ static u32 ticks_per_jiffy;
55 55
56static unsigned long tclk2ns_scale; 56static unsigned long tclk2ns_scale;
57 57
58unsigned long long sched_clock(void) 58unsigned long long notrace sched_clock(void)
59{ 59{
60 unsigned long long v = cnt32_to_63(0xffffffff - readl(TIMER0_VAL)); 60 unsigned long long v = cnt32_to_63(0xffffffff - readl(TIMER0_VAL));
61 return (v * tclk2ns_scale) >> TCLK2NS_SCALE_FACTOR; 61 return (v * tclk2ns_scale) >> TCLK2NS_SCALE_FACTOR;