[PATCH] adjust per_cpu definition in non-SMP case
authorJan Beulich <JBeulich@novell.com>
Thu, 23 Jun 2005 07:09:59 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:28 +0000 (09:45 -0700)
commit11c80c8367db0a9d342529ed74464670cd86a1f6
treed4625a9565866dc6565972b069c57cdedb7e0f27
parentc7ea4b31fd962b4baadb42c0b8d7c6851c584102
[PATCH] adjust per_cpu definition in non-SMP case

Fix (in the architectures I'm actually building for) the UP definition of
per_cpu so that the cpu specified may be any expression, not just an
identifier or a suffix expression.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/percpu.h
include/asm-ia64/percpu.h
include/asm-x86_64/percpu.h