From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935082AbdGTImz (ORCPT ); Thu, 20 Jul 2017 04:42:55 -0400 Received: from terminus.zytor.com ([65.50.211.136]:41719 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932806AbdGTImw (ORCPT ); Thu, 20 Jul 2017 04:42:52 -0400 Date: Thu, 20 Jul 2017 01:40:39 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, acme@redhat.com, jolsa@kernel.org, wangnan0@huawei.com, namhyung@kernel.org, dsahern@gmail.com, mingo@kernel.org Reply-To: wangnan0@huawei.com, dsahern@gmail.com, namhyung@kernel.org, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, acme@redhat.com, jolsa@kernel.org, linux-kernel@vger.kernel.org, adrian.hunter@intel.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools include uapi asm-generic: Grab a copy of fcntl.h Git-Commit-ID: 84d1d8a12df33a3e707866b9a1f9872058c3d1fb X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 84d1d8a12df33a3e707866b9a1f9872058c3d1fb Gitweb: http://git.kernel.org/tip/84d1d8a12df33a3e707866b9a1f9872058c3d1fb Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 18 Jul 2017 17:09:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 18 Jul 2017 23:13:55 -0300 tools include uapi asm-generic: Grab a copy of fcntl.h We'll need defines for beautifying fcntl arguments that are not available in older distros, these: trace/beauty/fcntl.c: In function 'syscall_arg__scnprintf_fcntl_arg': trace/beauty/fcntl.c:93: error: 'F_OFD_SETLK' undeclared (first use in this function) trace/beauty/fcntl.c:93: error: (Each undeclared identifier is reported only once trace/beauty/fcntl.c:93: error: for each function it appears in.) trace/beauty/fcntl.c:93: error: 'F_OFD_SETLKW' undeclared (first use in this function) trace/beauty/fcntl.c:93: error: 'F_OFD_GETLK' undeclared (first use in this function) trace/beauty/fcntl.c:94: error: 'F_GETOWN_EX' undeclared (first use in this function) trace/beauty/fcntl.c:94: error: 'F_SETOWN_EX' undeclared (first use in this function) Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-gvlw67a47e9z65jdunj4je5s@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- {include => tools/include}/uapi/asm-generic/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/fcntl.h b/tools/include/uapi/asm-generic/fcntl.h similarity index 98% copy from include/uapi/asm-generic/fcntl.h copy to tools/include/uapi/asm-generic/fcntl.h index e063eff..ac19095 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/tools/include/uapi/asm-generic/fcntl.h @@ -90,7 +90,7 @@ /* a horrid kludge trying to make sure that this will fail on old kernels */ #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) -#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) +#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) #ifndef O_NDELAY #define O_NDELAY O_NONBLOCK