powerpc/vdso: Disable building the 32-bit VDSO on little endian
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 10:01:02 +0000 (20:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 10:01:02 +0000 (20:01 +1000)
commite0d0059169945c8ee16790d2e7244cea397dfd56
treedb50205e4996c17264c9279b1bc7370fdbaf9802
parent6e5c077519f2661c56647fc21b2ec2ba0a50bb75
powerpc/vdso: Disable building the 32-bit VDSO on little endian

The only little endian configuration we support is ppc64le. As such if
we're building little endian we don't need a 32-bit VDSO, because there
is no 32-bit userspace.

This patch is a fairly ugly mess of #ifdefs, but is the minimal logic
required to disable the 32-bit VDSO. We can hopefully clean up the
result in future with some further refactoring.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/vdso.c
arch/powerpc/platforms/Kconfig.cputype