From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751708AbdBBM4j (ORCPT ); Thu, 2 Feb 2017 07:56:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55962 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473AbdBBM4i (ORCPT ); Thu, 2 Feb 2017 07:56:38 -0500 Date: Thu, 2 Feb 2017 13:56:29 +0100 From: Jiri Olsa To: David Carrillo-Cisneros Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo , Jiri Olsa , Alexander Shishkin , Wang Nan , He Kuang , Michal Marek , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Stephane Eranian , Paul Turner Subject: Re: [PATCH 4/4] tools include: Fix include path for uapi/asm-generic/mman.h Message-ID: <20170202125629.GE2305@krava> References: <20170202063804.94027-1-davidcc@google.com> <20170202063804.94027-5-davidcc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170202063804.94027-5-davidcc@google.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 02 Feb 2017 12:56:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 01, 2017 at 10:38:04PM -0800, David Carrillo-Cisneros wrote: > commit f3539c12d819 ("tools include: Add uapi mman.h for each architecture") > > copied include/uapi/linux/mman.h into tools/include/uapi/linux/mman.h > but did not update the include path for uapi/asm-generic/mman.h. Fix it. > > Signed-off-by: David Carrillo-Cisneros > --- > tools/include/uapi/linux/mman.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/include/uapi/linux/mman.h b/tools/include/uapi/linux/mman.h > index 81d8edf11789..74a19ae15cd1 100644 > --- a/tools/include/uapi/linux/mman.h > +++ b/tools/include/uapi/linux/mman.h > @@ -1,7 +1,7 @@ > #ifndef _UAPI_LINUX_MMAN_H > #define _UAPI_LINUX_MMAN_H > > -#include > +#include > > #define MREMAP_MAYMOVE 1 > #define MREMAP_FIXED 2 > -- > 2.11.0.483.g087da7b7c-goog > Arnaldo, could you please squash in the check-headers.sh update as well.. thanks, jirka --- diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh index c747bfd7f14d..87187b0b3bc0 100755 --- a/tools/perf/check-headers.sh +++ b/tools/perf/check-headers.sh @@ -56,4 +56,4 @@ done check arch/x86/lib/memcpy_64.S -B -I "^EXPORT_SYMBOL" -I "^#include " check arch/x86/lib/memset_64.S -B -I "^EXPORT_SYMBOL" -I "^#include " check include/uapi/asm-generic/mman.h -B -I "^#include <\(uapi/\)*asm-generic/mman-common.h>" -check include/uapi/linux/mman.h -B -I "^#include <\(uapi/\)*asm/mman.h>" +check include/uapi/linux/mman.h -B -I "^#include <\(uapi/\)*asm\(-generic\)*/mman.h>"