POWERPC: use generic per cpu
authortravis@sgi.com <travis@sgi.com>
Wed, 30 Jan 2008 22:27:58 +0000 (23:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 22:27:58 +0000 (23:27 +0100)
commit56f902051dd040e8a735a225caf0e3e4ffb0a6c5
tree3b20a0f3ab32f7fef1b325214f884330088e6dd3
parent05991bef104051d47e2160ee9499186aff7da5ad
POWERPC: use generic per cpu

Powerpc has a way to determine the address of the per cpu area of the
currently executing processor via the paca and the array of per cpu
offsets is avoided by looking up the per cpu area from the remote
paca's (copying x86_64).

Cc: Paul Mackerras <paulus@samba.org>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Olof Johansson <olof@lixom.net>
Tested-by: Geoff Levand <geoffrey.levand@am.sony.com>
include/asm-powerpc/percpu.h