powerpc: vdso: Make vdso32 installation conditional in vdso_install
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Mar 2019 04:24:37 +0000 (04:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:21 +0000 (10:24 +0100)
commite8fe73cb842e1c7133219acba3ee469693950f9f
tree4bf4fd2f2afd1392c97a28ef94375d1b085a9dce
parent3b3b51893b038bb2505ad1b4380408fa37884e5a
powerpc: vdso: Make vdso32 installation conditional in vdso_install

[ Upstream commit ff6d27823f619892ab96f7461764840e0d786b15 ]

The 32-bit vDSO is not needed and not normally built for 64-bit
little-endian configurations.  However, the vdso_install target still
builds and installs it.  Add the same config condition as is normally
used for the build.

Fixes: e0d005916994 ("powerpc/vdso: Disable building the 32-bit VDSO ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/Makefile