aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 2ae7409bf38f..2fa4301ffadb 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -248,7 +248,7 @@ static void perf_unpin_context(struct perf_event_context *ctx)
248 248
249static inline u64 perf_clock(void) 249static inline u64 perf_clock(void)
250{ 250{
251 return cpu_clock(smp_processor_id()); 251 return cpu_clock(raw_smp_processor_id());
252} 252}
253 253
254/* 254/*