* [PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install
@ 2019-03-22 4:24 Ben Hutchings
2019-04-21 14:18 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2019-03-22 4:24 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
Cc: linuxppc-dev, 785065
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
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>
---
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)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc: vdso: Make vdso32 installation conditional in vdso_install
2019-03-22 4:24 [PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install Ben Hutchings
@ 2019-04-21 14:18 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2019-04-21 14:18 UTC (permalink / raw)
To: Ben Hutchings, Benjamin Herrenschmidt, Paul Mackerras
Cc: linuxppc-dev, 785065
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 <ben@decadent.org.uk>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/ff6d27823f619892ab96f7461764840e
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-21 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 4:24 [PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install Ben Hutchings
2019-04-21 14:18 ` Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.