]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8976a7e5c05cb152d15819cf8c0ad31215cf5827
treef1981a79330e1eeaa2294516587bf338f4a6476e
parentee683d750f71db6aaee99b5de6ce1ec7029c7da9
[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