[for-next][PATCH 4/6] tracing: Add __per_cpu annotation to trace array percpu data pointer

2013-03-04 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" With the conversion of the data array to per cpu, sparse now complains about the use of per_cpu_ptr() on the variable. But The variable is allocated with alloc_percpu() and is fine to use. But since the structure that contains the data variable does not annotate

[for-next][PATCH 4/6] tracing: Add __per_cpu annotation to trace array percpu data pointer

2013-03-04 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) srost...@redhat.com With the conversion of the data array to per cpu, sparse now complains about the use of per_cpu_ptr() on the variable. But The variable is allocated with alloc_percpu() and is fine to use. But since the structure that contains the data variable