PERCPU: Collect the DECLARE/DEFINE declarations together
authorDavid Howells <dhowells@redhat.com>
Tue, 21 Apr 2009 22:00:29 +0000 (23:00 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Apr 2009 02:40:00 +0000 (19:40 -0700)
commit5028eaa97dd1dab9cd7c30c4d38f71c708ca64bc
treeff416e9ecb00ab2b616bce6acc4e2579c45b06b9
parent9b8de7479d0dbab1ed98b5b015d44232c9d3d08e
PERCPU: Collect the DECLARE/DEFINE declarations together

Collect the DECLARE/DEFINE declarations together in linux/percpu-defs.h so
that they're in one place, and give them descriptive comments, particularly
the SHARED_ALIGNED variant.

It would be nice to collect these in linux/percpu.h, but that's not possible
without sorting out the severe #include recursion between the x86 arch headers
and the general headers (and possibly other arches too).

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/percpu.h
include/linux/percpu-defs.h [new file with mode: 0644]
include/linux/percpu.h