Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4578141ybb; Tue, 14 Apr 2020 09:59:13 -0700 (PDT) X-Google-Smtp-Source: APiQypLygHt3HTECxo+amJ/eIlJMoDn3qkPvHRtzgtnn0QIsJ221x1/0kT0CiaLPao7dzfJThLZo X-Received: by 2002:a05:6402:b47:: with SMTP id bx7mr8669734edb.374.1586883553324; Tue, 14 Apr 2020 09:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586883553; cv=none; d=google.com; s=arc-20160816; b=PkwKLMEwGXByosr7r99dXgVOcaufWtes1w5C0wo+H4XEEOb+iMUEcxFqxv7UdRLbKj oN0R7fdxcSn04k9Vq9WlAtiXXv116CefDA1UvSfR9BccNKSEZU0cI2mkG/WkR5ynF6S4 c2ApUmnAdxZgHzvZMyyJZkFeM4QlNtGSSbmV6fo04KP/NuwDwSWCbtV3TD4xUtAE9+G8 DpXE2SEhNZjdqtaNqi4kfZDJWdjWebjJQ4I7TKjrdgyuRbtu6gIuM3GNsCDYKG9m4vsX PKiHN+hX8CROuHX3rLpElnIcOuB6lz+Sq28gEDhDvQPG8zx73wsq7LUARGzwWZpAA8YT CS4A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wnBSXGU2IQO1/Mub/SPQyUrfGTnApct0uI8uT7Gb1Ik=; b=zAE3k42DcphIo5kEm6/qmHoXMqzjUVG0NGywgvgVDX+wlbEh0vvzCRD0dSlcwztZIA sPzUCySm0L+aprolLk7HerdM/GisYSQQGAHOOhmtdgbfkGMHgYdFqb9WfCH4E8efJHBp hR6mUDDVLqNrnOsRjtRdtbIC1OzU4t4gcu7whLii6VRl9PEqmD3Sc8QTuNkmp7xljxoe 6JT0/JS8GxrWxsMr6psof/+fj8Ztj8paEXWx1kUODKJ1Zdn51TUPYfOXRFCsdgcEZBwR 02IFDrNJaZqFwfxGbiQxdtfU28bTYdbYHS6QZTQ4B/A2lb3cgL5OWcLpPNVSCYVTWJ/U qPzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QOB4089n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si9191235edf.150.2020.04.14.09.58.49; Tue, 14 Apr 2020 09:59:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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; dkim=pass header.i=@kernel.org header.s=default header.b=QOB4089n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502268AbgDNQvo (ORCPT + 99 others); Tue, 14 Apr 2020 12:51:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:55298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440401AbgDNQtU (ORCPT ); Tue, 14 Apr 2020 12:49:20 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DCFC32074D; Tue, 14 Apr 2020 16:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586882953; bh=vTilJT7sSfr6FjNGlvX9bZpL9rzwrQ7T9O6h9ya2LFY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QOB4089nemdYQa+eI5eY+Gj9BAbGvG+2oRZ1BiaXCTV35XyLpONezX9iHMA/hlIel j/ycYpyWhz5kP3nOgCcFNJjA/OIQpmfByu7RkUk+iccPN+z270B7rGrxbmllre/O6g AEKVtdEesEujEAGzR++sGymBhBvBPZ8tnaQcWjJQ= From: Arnaldo Carvalho de Melo To: 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 , Vincenzo Frascino Subject: [PATCH 04/15] tools headers: Update linux/vdso.h and grab a copy of vdso/const.h Date: Tue, 14 Apr 2020 13:48:43 -0300 Message-Id: <20200414164854.26026-5-acme@kernel.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200414164854.26026-1-acme@kernel.org> References: <20200414164854.26026-1-acme@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.21.1