diff options
author | 2009-10-29 22:34:15 +0900 | |
---|---|---|
committer | 2009-10-29 22:34:15 +0900 | |
commit | 545695fb41da117928ab946067a42d9e15fd009d (patch) | |
tree | 1ea32c45a6f6efb03a88f99278f065054a5de3e2 /kernel/sysctl.c | |
parent | percpu: add __percpu for sparse. (diff) | |
download | linux-dev-545695fb41da117928ab946067a42d9e15fd009d.tar.xz linux-dev-545695fb41da117928ab946067a42d9e15fd009d.zip |
percpu: make accessors check for percpu pointer in sparse
The previous patch made sparse warn about percpu variables being used
directly without going through percpu accessors. This patch
implements the other half - checking whether non percpu variable is
passed into percpu accessors.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions