From patchwork Tue May 15 02:52:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135810 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413450lji; Mon, 14 May 2018 19:53:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqeC4SQU2PPkKLFE+k0diHboX9WZ7Np/004M9jrqNQhXt7rntrCSxdigZYXL9d+Z3K7Qfol X-Received: by 2002:a65:6553:: with SMTP id a19-v6mr10300577pgw.3.1526352826948; Mon, 14 May 2018 19:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352826; cv=none; d=google.com; s=arc-20160816; b=XKN+iGKfxuJMFWPgNtyxUTluEWZNNAZkTr/ElV7mCkFktR+utCmprRqI7dFQ5OWkLV mF0ryYVnYIY/Av6qKZ3cRasaqua8SnanLLiFdjbu3Qru1DCRdPjjNsc/8XMRBnfxcD5h HKveccZED0+P6AGIRafkUDgnCDCX/tJSAwCE+tY9za+zuCrajk4gDpM25f7KU8Zno/ZZ LVJgd14o7lq0olWpOm5p3sO7loZ+i5dBQnHrTW156SZ53/E1Y/YJS7P6S3ak41sqx30x KwY2C5cyH+KLvcn9bsSNDgC0dHALtCDhHtQir9acuQUPkE84ZQ2/tdRS5tPYU/UpLpBH C1xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=2UHMsV0PbQpD2GXGpjLO29Go9kcQ+lE2Hb3BWk4/R/Q=; b=Ae4l+1R/K8VtHJ9xXsuui9ioxMV3FqSbuNh4vBQTUExEPsuGm7juo6yzPWsQTC0JTs t/S+X9JiJG7M5vuTB6frFc/llNctb0O6siIOT1mWd48PjCXwMqjL63OjvoRElfr1dP04 11375SWHubQoHQ5UAEUj7QyjHwQFzWUeh5UhK+vgtcqgoRxEYFr1WVOJMA33R5qQ1t+4 4/obChFtj/i0ANrcV0wXtV2WGx+kBUhqhc4qe6qqIl9r69PQRpYZhmBtoIMPKH2weQ2h yeZSVk5WP3kei4ZpnXuGPs5wcHqxxnKYK5VqG+bj4KZXzBOWiJwVv52WyPQxW7TfJBiw Yyrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pyXxnDxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si8579944pgc.229.2018.05.14.19.53.46; Mon, 14 May 2018 19:53:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pyXxnDxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbeEOCxo (ORCPT + 29 others); Mon, 14 May 2018 22:53:44 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:47957 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeEOCxn (ORCPT ); Mon, 14 May 2018 22:53:43 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w4F2qVSt002191; Tue, 15 May 2018 11:52:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSt002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352752; bh=2UHMsV0PbQpD2GXGpjLO29Go9kcQ+lE2Hb3BWk4/R/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pyXxnDxEsogWLUe+kUq2je/bcseD23oT65ualGAowxsDx72Qpdp/T1GWzWB5M7Uik sySvTArNZJFhPmy+TgMRPtclrUZaf/mjcLw4A4yuFwOl/fP2piLBJf34KbDcWDr7fi tlmE1I5nwBKSIRhnbdoYfBvzGHh80G4b1CXHUNYZuTMv6jTPvmCcaDR3CBDX9Kv/qo icBBE3b4a0DieWJufJnozGVNyBwiud+Ijx36yJEGJclx4oqXcL8JloWO6Uhn+GABA5 He3XEqbA7p16CjrpLpdDaZfkAgew1DtltdN8Kzji93jx/sn+CjSL+enmA32dACcOwi j5dXPDAHB6WfA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , linux-kernel@vger.kernel.org, Andy Lutomirski Subject: [PATCH 1/3] x86/build: vdso: remove unused $(vobjs-nox32) in Makefile Date: Tue, 15 May 2018 11:52:22 +0900 Message-Id: <1526352744-28229-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> References: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit bfad381c0d1e ("x86/vdso: Improve the fake section headers"), $(vobjs-nox32) is empty. Therefore, $(vobjs64-for-x32) is the same as $(vobjs-y). Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index d998a48..2988506 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -100,11 +100,8 @@ VDSO_LDFLAGS_vdsox32.lds = -Wl,-m,elf32_x86_64 \ -Wl,-z,max-page-size=4096 \ -Wl,-z,common-page-size=4096 -# 64-bit objects to re-brand as x32 -vobjs64-for-x32 := $(filter-out $(vobjs-nox32),$(vobjs-y)) - # x32-rebranded versions -vobjx32s-y := $(vobjs64-for-x32:.o=-x32.o) +vobjx32s-y := $(vobjs-y:.o=-x32.o) # same thing, but in the output directory vobjx32s := $(foreach F,$(vobjx32s-y),$(obj)/$F)