From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8CD0C33CB8 for ; Thu, 16 Jan 2020 17:54:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6D9C2073A for ; Thu, 16 Jan 2020 17:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579197274; bh=xfz1hJ8KVIHyS6J478xNWHxn2RZ8AjQvL97dy1o77Lk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=PdfYY7ANKLh8R+bEzOlJA8haAkr6oARGUbzRovAgkogEFvICUU25GpzAj4/b814oT 2pfz5GzJGEQmzNSgSu7PA35EQaotbgqXsFl4l9vKI/qz8u422QGpDqL/Z+x1YiRsZe rvB3Miux9qgosLg/1By219IW5BNDfubs9zI83n9s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405931AbgAPRom (ORCPT ); Thu, 16 Jan 2020 12:44:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:35740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405916AbgAPRoj (ORCPT ); Thu, 16 Jan 2020 12:44:39 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2DA9D2475A; Thu, 16 Jan 2020 17:44:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579196678; bh=xfz1hJ8KVIHyS6J478xNWHxn2RZ8AjQvL97dy1o77Lk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I8E2ihC6v45/yfhpndsYa3KsR8e3FbtI0L3JVJz9DvpWLzub1v5oX2N4wMIwvk9f5 M5fuhGS6hNvdB8EHbVUfAuE+0UqdE3tw8qfZ7tYhc20uYJohJf4nk0Uq1DI51Zf/Ej lOpU2If6KYAyJaVuFR0E4wk9GXBPe4aX8R5ndi0Y= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ben Hutchings , Michael Ellerman , Sasha Levin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH AUTOSEL 4.4 077/174] powerpc: vdso: Make vdso32 installation conditional in vdso_install Date: Thu, 16 Jan 2020 12:41:14 -0500 Message-Id: <20200116174251.24326-77-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200116174251.24326-1-sashal@kernel.org> References: <20200116174251.24326-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Ben Hutchings [ 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 Signed-off-by: Michael Ellerman Signed-off-by: Sasha Levin --- arch/powerpc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index d7eb035a9c96..65cb22541c66 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -350,7 +350,9 @@ vdso_install: ifeq ($(CONFIG_PPC64),y) $(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