[POWERPC] vdso: Fixes for cache block sizes
authorOlof Johansson <olof@lixom.net>
Tue, 20 Nov 2007 01:24:45 +0000 (12:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 20 Nov 2007 02:56:31 +0000 (13:56 +1100)
commitfbe481756df57673b6acbcd2e139d0d2658f2188
treef1981a79330e1eeaa2294516587bf338f4a6476e
parent92e21e79a85924ddda00f4678d60bbd8f891a553
[POWERPC] vdso: Fixes for cache block sizes

The current VDSO implementation is hardcoded to 128 byte cache blocks,
which are only used on IBM's 64-bit processors.

Convert it to get the cache block sizes out of vdso_data instead,
similar to how the ppc64 in-kernel cache flush does it.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/vdso.c
arch/powerpc/kernel/vdso32/cacheflush.S
arch/powerpc/kernel/vdso64/cacheflush.S
include/asm-powerpc/vdso_datapage.h