Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3352659ybc; Thu, 14 Nov 2019 07:52:29 -0800 (PST) X-Google-Smtp-Source: APXvYqztjcinL40A56VLtXa8BVlok7N9ZZdoCtHYJdx13Dlp4bV8KrMozrj71QyxD5AhxWMhNdNP X-Received: by 2002:a17:906:134c:: with SMTP id x12mr9370674ejb.269.1573746749565; Thu, 14 Nov 2019 07:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573746749; cv=none; d=google.com; s=arc-20160816; b=diId8uI1epd0UMk8P9F/njGlGBwRAHIxPAsGwvorG3705PsoGRFS2YKmOs1kCFGdKT O9XNbxKoDJ77up3zxSWEk6+MgeJAdK9IMnDIFA/7qemqQKZJuTpj8ciKlQB8FKun8oZl MCLy70Ar12mUu72KTFUQOGvGM2E4/1NBilSHR6dQUoTNMdpAb4KVmtYEo3gWtemFIRqe d6AGvzG3xXPd1l3ag3GIHuX1l5L8WPxcG6wTy2UPa75mVV1EsPS+yG1NzKgsOcKpXiMH X2ltFs+o/EEMNlZ7y/sVd0UJ491LkYka1ZZgXoR8SB0LFgb0GnC/Tulq0daX8YMTu+Tz 33Wg== 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 o16si4449826edi.158.2019.11.14.07.52.04; Thu, 14 Nov 2019 07:52:29 -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 S1726717AbfKNPur (ORCPT + 99 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(-) 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. -- 2.17.1