diff options
Diffstat (limited to 'kernel/trace/trace_clock.c')
-rw-r--r-- | kernel/trace/trace_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_clock.c b/kernel/trace/trace_clock.c index 22b638b28e48..24bf48eabfcc 100644 --- a/kernel/trace/trace_clock.c +++ b/kernel/trace/trace_clock.c | |||
@@ -84,7 +84,7 @@ u64 notrace trace_clock_global(void) | |||
84 | local_irq_save(flags); | 84 | local_irq_save(flags); |
85 | 85 | ||
86 | this_cpu = raw_smp_processor_id(); | 86 | this_cpu = raw_smp_processor_id(); |
87 | now = cpu_clock(this_cpu); | 87 | now = sched_clock_cpu(this_cpu); |
88 | /* | 88 | /* |
89 | * If in an NMI context then dont risk lockups and return the | 89 | * If in an NMI context then dont risk lockups and return the |
90 | * cpu_clock() time: | 90 | * cpu_clock() time: |