]> git.karo-electronics.de Git - karo-tx-linux.git/commit
percpu: add __percpu for sparse.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Oct 2009 13:34:15 +0000 (22:34 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 29 Oct 2009 13:34:15 +0000 (22:34 +0900)
commite0fdb0e050eae331046385643618f12452aa7e73
tree6156f577879764fd75cf8c46ca7980433de0e59d
parentf7b64fe806029e0a0454df132eec3c5ab576102c
percpu: add __percpu for sparse.

We have to make __kernel "__attribute__((address_space(0)))" so we can
cast to it.

tj: * put_cpu_var() update.

    * Annotations added to dynamic allocator interface.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/asm-generic/percpu.h
include/linux/compiler.h
include/linux/percpu-defs.h
include/linux/percpu.h