From patchwork Thu Nov 14 15:49:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 179453 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp11233817ilf; Thu, 14 Nov 2019 07:50:48 -0800 (PST) X-Google-Smtp-Source: APXvYqytjP51qM1Ihs7jHLr1gbSQFE9mt4FqMxyjCPdW6PrciDDRpMsTO6SLK8k+98HswcHyyiCc X-Received: by 2002:a17:906:6d59:: with SMTP id a25mr9235273ejt.57.1573746648520; Thu, 14 Nov 2019 07:50:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573746648; cv=none; d=google.com; s=arc-20160816; b=wz3f4d2uaFkAPI3WL9AObxR+KKgXg2Q/GxjU/v2HeSs4+LiDJmVfWyaxolzxuqRqtc yKhNu12JD7vo6avoGQqVhPjyLTLHtdev7nV6rm1w7wkiLots9MBkzLDbr3+zS5xt+6uU dh5itHyCjgRtF1yzrfyMQxTISQgZJMGrRuR5NW5hAaPzrST0X3EgnzKO7MB7Mbu2CO+y BGYu5FCQqXb6IwFjemDjXal+uNIOKZbH5B4gUiwIGl2PRDmJwqdJqYab9ovS9MrCjeuL g7bgrGXCkLeKtjfgXClE+qE0pTTH3oSBJdJLfTNKrbAiD3Pa/LMvW1bHyaUODiuAiS0L mdzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=rUDBvIjnjwqQKJ9tUeh71Dhf0uG496BMaiSGvdte9AI=; b=beKMgQnqNUlrSKWdnhdiWrGpccaRQq0L1hcjlkCdHwDDZ/H2ln4SRMsDjiChK5hBy+ X9IBp1hVgZqIHQwAOlEdRUhR2omQ97+TBzZKIl6VvcyNXDWWJgNZdUkOswKoYuoQPed7 GKA6bRISckgBYCsr1ehKNJtMVkez1FrDLK55P5Ns0841nxxCoe/rAr38/lsuAn/md1rr p7yLKV6pvtwDFEmkvju0feNvj25XmP9jXVuRwW25VCs99ZQYDu6LKnUUuUUAbHyyFZ+y fjpnwE+kagtyUq3Na5txXCSAKTkxYm1CEtQ3vkVMtU10Wjj/XQLR2fpuYnz62vrKf870 t/uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=g6NCsYTE; 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 v16si4559795edc.142.2019.11.14.07.50.48; Thu, 14 Nov 2019 07:50:48 -0800 (PST) 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=g6NCsYTE; 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 S1726828AbfKNPur (ORCPT + 26 others); Thu, 14 Nov 2019 10:50:47 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:29473 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbfKNPuq (ORCPT ); Thu, 14 Nov 2019 10:50:46 -0500 Received: from grover.flets-west.jp (softbank126021098169.bbtec.net [126.21.98.169]) (authenticated) by conuserg-12.nifty.com with ESMTP id xAEFnYqU003229; Fri, 15 Nov 2019 00:49:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com xAEFnYqU003229 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1573746574; bh=rUDBvIjnjwqQKJ9tUeh71Dhf0uG496BMaiSGvdte9AI=; h=From:To:Cc:Subject:Date:From; b=g6NCsYTEW2iX4zeMWFtf+YV/uYhkmv13lsxUfllhgK+QehD0RI5PTPFd95b9qdPWT GC+/pzPbi9ubWjClp3sjHjV/pP2U2gNm8nxmvVSYna2SMLZ3nDS83uIwqiOOlAubx5 HJUcRe7lapNM+YcQRq5HLpLnjhNZeJbGEMVHmcSNoT3VEo2vsKumoUfHy5/Fc3qqZS gm+9V1ixNPhhydgP4BQ3fMeFxfydkNY90QZ2e4HcczpXmAIYfSQkXkPuxSQFuIUpem n8a9QoG9zxem4tdsUEue7FVctgfLZOw2O230lgAwDnZXT+TwBiDS3d87Uzlt/d8J6S micKmA7q3u4AA== X-Nifty-SrcIP: [126.21.98.169] From: Masahiro Yamada To: x86@kernel.org, Ingo Molnar , Thomas Gleixner , Borislav Petkov , "H . Peter Anvin" Cc: Masahiro Yamada , Andy Lutomirski , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] x86/build/vdso: remove meaningless CFLAGS_REMOVE_*.o Date: Fri, 15 Nov 2019 00:49:22 +0900 Message-Id: <20191114154922.30365-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CFLAGS_REMOVE_*.o syntax is used to drop particular flags when building objects from C files. It has no effect for assembly files. vdso-note.o is compiled from the assembly file, vdso-note.S, hence CFLAGS_REMOVE_vdso-note.o is meaningless. Neither vvar.c nor vvar.S is found in the vdso directory. Since there is no source file to create vvar.o, CFLAGS_REMOVE_vvar.o is also meaningless. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 0f2154106d01..2b75e80f6b41 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -87,11 +87,9 @@ $(vobjs): KBUILD_CFLAGS := $(filter-out $(GCC_PLUGINS_CFLAGS) $(RETPOLINE_CFLAGS # # vDSO code runs in userspace and -pg doesn't help with profiling anyway. # -CFLAGS_REMOVE_vdso-note.o = -pg CFLAGS_REMOVE_vclock_gettime.o = -pg CFLAGS_REMOVE_vdso32/vclock_gettime.o = -pg CFLAGS_REMOVE_vgetcpu.o = -pg -CFLAGS_REMOVE_vvar.o = -pg # # X32 processes use x32 vDSO to access 64bit kernel data.