Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp640609ybz; Wed, 15 Apr 2020 15:44:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJHjBFC+CkfBIUtt5QQcZxawGmu5w/uKCRje/oPdCWPUa81z/vRbyzdE26QOvo/YeboLcIp X-Received: by 2002:a50:c042:: with SMTP id u2mr26691060edd.250.1586990689381; Wed, 15 Apr 2020 15:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990689; cv=none; d=google.com; s=arc-20160816; b=z5IEeOpskA3/t8wHxmbDJOE1O4Lh27SFUmD/+akfKszdyyO70/39RTpe+phPSo8FU1 VsAOmG3qhyBMtM+au2/OIjoq0oQsXaOS4UEoavndo34H3oxawThdB6EBUZRf1hZks0T6 VCVsRH8fOn1RsJ2c7NWFECYGz9bQS7xB1DvQIxGCqtg7sFJmlA2Gg8bmRPmP1i1iq/hx VO1itDh8pyrOx/BqAKGb4YhciYdJ59Rx8PZnb8MoU//r6wWx5/0W8225qv5hamzI8h2g B3CVs5ujlkkQu1QBjH/wlPQyS6NoiXw5IR4NMAnY2EKe4gjRie/fvC9GIUtgjyza1xZu 4V4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=xub2h9nbxjJFk2+O7bA6uGd2/WQ1EpkDpkSebIj/fDo=; b=eNIWlyZDz9g+2oGx3Jb+muSsQSmJ28DUJL34CSpAL1YUP0gBUPLuyzRaNtNP8BmWw8 rlEX+joYznCc0IfrLBfAZwrlp2IgJ+CUdjAwj8EpifNywGzfjJ1Rq4cZVcZkm9NUNWRf MHNvTaXBR8niwMifl/Q26UiwUqiMJzZKfsWcJWT0Y27v9p9CHcJRuSnhelNRYJ/nfSZe Doyz6KQSP1wRKUZ+da8g1L8XiCvXAbDXku6fL9BjK3ZUihN73T+wYyC3VSf+deQYmu5V TxfeycloZN2XqbL9rSwux/dveve1Ky8DhjFqRVlnkhX4meXk4RqZXKRwLpqucTt7VaDt JO+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si7845893ejs.456.2020.04.15.15.44.26; Wed, 15 Apr 2020 15:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408319AbgDOJKR (ORCPT + 99 others); Wed, 15 Apr 2020 05:10:17 -0400 Received: from foss.arm.com ([217.140.110.172]:40314 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408295AbgDOJKN (ORCPT ); Wed, 15 Apr 2020 05:10:13 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1E5B91063; Wed, 15 Apr 2020 02:10:12 -0700 (PDT) Received: from [192.168.1.172] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E04533F68F; Wed, 15 Apr 2020 02:10:09 -0700 (PDT) Subject: Re: [PATCH 04/15] tools headers: Update linux/vdso.h and grab a copy of vdso/const.h To: Arnaldo Carvalho de Melo , Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter References: <20200414164854.26026-1-acme@kernel.org> <20200414164854.26026-5-acme@kernel.org> From: Vincenzo Frascino Message-ID: <56641c66-3fce-6fcc-1436-454e83c9c959@arm.com> Date: Wed, 15 Apr 2020 10:10:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200414164854.26026-5-acme@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/20 5:48 PM, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > To get in line with: > > 8165b57bca21 ("linux/const.h: Extract common header for vDSO") > > And silence this tools/perf/ build warning: > > Warning: Kernel ABI header at 'tools/include/linux/const.h' differs from latest version at 'include/linux/const.h' > diff -u tools/include/linux/const.h include/linux/const.h > > Cc: Adrian Hunter > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Thomas Gleixner > Cc: Vincenzo Frascino > Signed-off-by: Arnaldo Carvalho de Melo Acked-by: Vincenzo Frascino > --- > tools/include/linux/const.h | 5 +---- > tools/include/vdso/const.h | 10 ++++++++++ > tools/perf/check-headers.sh | 1 + > 3 files changed, 12 insertions(+), 4 deletions(-) > create mode 100644 tools/include/vdso/const.h > > diff --git a/tools/include/linux/const.h b/tools/include/linux/const.h > index 7b55a55f5911..81b8aae5a855 100644 > --- a/tools/include/linux/const.h > +++ b/tools/include/linux/const.h > @@ -1,9 +1,6 @@ > #ifndef _LINUX_CONST_H > #define _LINUX_CONST_H > > -#include > - > -#define UL(x) (_UL(x)) > -#define ULL(x) (_ULL(x)) > +#include > > #endif /* _LINUX_CONST_H */ > diff --git a/tools/include/vdso/const.h b/tools/include/vdso/const.h > new file mode 100644 > index 000000000000..94b385ad438d > --- /dev/null > +++ b/tools/include/vdso/const.h > @@ -0,0 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef __VDSO_CONST_H > +#define __VDSO_CONST_H > + > +#include > + > +#define UL(x) (_UL(x)) > +#define ULL(x) (_ULL(x)) > + > +#endif /* __VDSO_CONST_H */ > diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh > index bfb21d049e6c..c905c683606a 100755 > --- a/tools/perf/check-headers.sh > +++ b/tools/perf/check-headers.sh > @@ -23,6 +23,7 @@ include/uapi/linux/vhost.h > include/uapi/sound/asound.h > include/linux/bits.h > include/linux/const.h > +include/vdso/const.h > include/linux/hash.h > include/uapi/linux/hw_breakpoint.h > arch/x86/include/asm/disabled-features.h > -- Regards, Vincenzo