Re: [PATCH 6/8] percpu: add __percpu sparse annotations to trace

Steven Rostedt
2010-01-25T15:35:43Z

On Tue, 2010-01-26 at 00:22 +0900, Tejun Heo wrote:
> Add __percpu sparse annotations to trace.
>
> These annotations are to make sparse consider percpu variables to be
> in a different address space and warn if accessed without going
> through percpu accessors. This patch doesn't affect normal builds.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Ingo Molnar <mingo@redhat.com>
> ---
> include/linux/ftrace_event.h | 4 ++--
> include/trace/ftrace.h | 4 ++--
> kernel/trace/trace_event_profile.c | 16 ++++++++--------
> kernel/trace/trace_functions_graph.c | 2 +-
> kernel/trace/trace_kprobe.c | 4 ++--
> kernel/trace/trace_ksym.c | 10 +++++-----
> kernel/trace/trace_syscalls.c | 4 ++--
> 7 files changed, 22 insertions(+), 22 deletions(-)
>