aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_clock.c')
-rw-r--r--kernel/sched_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_clock.c b/kernel/sched_clock.c
index ed5a8c415046..60094e257a9a 100644
--- a/kernel/sched_clock.c
+++ b/kernel/sched_clock.c
@@ -250,9 +250,9 @@ unsigned long long cpu_clock(int cpu)
250 unsigned long long clock; 250 unsigned long long clock;
251 unsigned long flags; 251 unsigned long flags;
252 252
253 raw_local_irq_save(flags); 253 local_irq_save(flags);
254 clock = sched_clock_cpu(cpu); 254 clock = sched_clock_cpu(cpu);
255 raw_local_irq_restore(flags); 255 local_irq_restore(flags);
256 256
257 return clock; 257 return clock;
258} 258}