aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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 05b6c6b825e3..aa6155b5e24c 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -249,7 +249,7 @@ static void perf_unpin_context(struct perf_event_context *ctx)
249 249
250static inline u64 perf_clock(void) 250static inline u64 perf_clock(void)
251{ 251{
252 return cpu_clock(smp_processor_id()); 252 return cpu_clock(raw_smp_processor_id());
253} 253}
254 254
255/* 255/*