projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: Use this_cpu_ptr per-cpu helper
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
kernel
/
trace
/
blktrace.c
diff --git
a/kernel/trace/blktrace.c
b/kernel/trace/blktrace.c
index
c0bd030
..
71259e2
100644
(file)
--- a/
kernel/trace/blktrace.c
+++ b/
kernel/trace/blktrace.c
@@
-147,7
+147,7
@@
void __trace_note_message(struct blk_trace *bt, const char *fmt, ...)
return;
local_irq_save(flags);
- buf =
per_cpu_ptr(bt->msg_data, smp_processor_id()
);
+ buf =
this_cpu_ptr(bt->msg_data
);
va_start(args, fmt);
n = vscnprintf(buf, BLK_TN_MAX_MSG, fmt, args);
va_end(args);