diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:12 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:12 +0100 |
commit | 0f5e4816dbf38ce9488e611ca2296925c1e90d5e (patch) | |
tree | 9c13079d21cb0c316db7e254222bca357ad7b41b /kernel/utsname_sysctl.c | |
parent | percpu: make alloc_percpu() handle array types (diff) | |
download | linux-0f5e4816dbf38ce9488e611ca2296925c1e90d5e.tar.xz linux-0f5e4816dbf38ce9488e611ca2296925c1e90d5e.zip |
percpu: remove some sparse warnings
Make the following changes to remove some sparse warnings.
* Make DEFINE_PER_CPU_SECTION() declare __pcpu_unique_* before
defining it.
* Annotate pcpu_extend_area_map() that it is entered with pcpu_lock
held, releases it and then reacquires it.
* Make percpu related macros use unique nested variable names.
* While at it, add pcpu prefix to __size_call[_return]() macros as
to-be-implemented sparse annotations will add percpu specific stuff
to these macros.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions