lkml.org 
[lkml]   [2020]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 319/639] powerpc: vdso: Make vdso32 installation conditional in vdso_install
    Date
    From: Ben Hutchings <ben@decadent.org.uk>

    [ 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 | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
    index e43321f46a3be..8954108df4570 100644
    --- a/arch/powerpc/Makefile
    +++ b/arch/powerpc/Makefile
    @@ -412,7 +412,9 @@ vdso_install:
    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)
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-01-24 12:18    [W:3.335 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site