[PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2677d

2 messages, 2 authors, 2019-04-21 · open the first message on its own page

[PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install

From: Ben Hutchings <hidden>
Date: 2019-03-22 04:26:40

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 <redacted>
---
 arch/powerpc/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 488c9edffa58..3def265cf1cf 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -406,7 +406,9 @@ endef
 ifdef CONFIG_PPC64
 	$(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@
 endif
+ifdef CONFIG_VDSO32
 	$(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@
+endif
 
 archclean:
 	$(Q)$(MAKE) $(clean)=$(boot)

Re: powerpc: vdso: Make vdso32 installation conditional in vdso_install

From: Michael Ellerman <hidden>
Date: 2019-04-21 14:41:38

On Fri, 2019-03-22 at 04:24:37 UTC, Ben Hutchings wrote:
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 <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ff6d27823f619892ab96f7461764840e

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help