Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753826AbbFDOMJ (ORCPT ); Thu, 4 Jun 2015 10:12:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:46961 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752102AbbFDOMF (ORCPT ); Thu, 4 Jun 2015 10:12:05 -0400 Date: Thu, 4 Jun 2015 07:11:23 -0700 From: tip-bot for Wang Nan Message-ID: Cc: acme@redhat.com, tglx@linutronix.de, jolsa@kernel.org, xiakaixu@huawei.com, mingo@kernel.org, a.p.zijlstra@chello.nl, wangnan0@huawei.com, masami.hiramatsu.pt@hitachi.com, dsahern@gmail.com, ast@plumgrid.com, linux-kernel@vger.kernel.org, lizefan@huawei.com, hpa@zytor.com, brendan.d.gregg@gmail.com, namhyung@kernel.org, daniel@iogearbox.net, hekuang@huawei.com Reply-To: wangnan0@huawei.com, tglx@linutronix.de, acme@redhat.com, mingo@kernel.org, a.p.zijlstra@chello.nl, xiakaixu@huawei.com, jolsa@kernel.org, namhyung@kernel.org, brendan.d.gregg@gmail.com, hekuang@huawei.com, daniel@iogearbox.net, dsahern@gmail.com, masami.hiramatsu.pt@hitachi.com, hpa@zytor.com, lizefan@huawei.com, linux-kernel@vger.kernel.org, ast@plumgrid.com In-Reply-To: <1433144296-74992-2-git-send-email-wangnan0@huawei.com> References: <1433144296-74992-2-git-send-email-wangnan0@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Move linux/kernel.h to tools/include Git-Commit-ID: 37fbe0a4a0a9afe3b0fe843a4775a85ccf430deb 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 Content-Length: 2655 Lines: 68 Commit-ID: 37fbe0a4a0a9afe3b0fe843a4775a85ccf430deb Gitweb: http://git.kernel.org/tip/37fbe0a4a0a9afe3b0fe843a4775a85ccf430deb Author: Wang Nan AuthorDate: Mon, 1 Jun 2015 07:37:47 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 2 Jun 2015 15:27:04 -0300 perf tools: Move linux/kernel.h to tools/include This patch moves kernel.h from tools/perf/util/include/linux/kernel.h to tools/include/linux/kernel.h to enable other libraries use macros in it, like libbpf which will be introduced by further patches. MANIFEST is also updated for 'make perf-*-src-pkg'. Signed-off-by: Wang Nan Acked-by: Alexei Starovoitov Cc: Brendan Gregg Cc: Daniel Borkmann Cc: David Ahern Cc: He Kuang Cc: Jiri Olsa Cc: Kaixu Xia Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Zefan Li Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1433144296-74992-2-git-send-email-wangnan0@huawei.com [ Fixed up the ifdef guard to match other entries in tools/include/linux ] Signed-off-by: Arnaldo Carvalho de Melo --- tools/{perf/util => }/include/linux/kernel.h | 4 ++-- tools/perf/MANIFEST | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/include/linux/kernel.h b/tools/include/linux/kernel.h similarity index 97% rename from tools/perf/util/include/linux/kernel.h rename to tools/include/linux/kernel.h index 09e8e7a..76df535 100644 --- a/tools/perf/util/include/linux/kernel.h +++ b/tools/include/linux/kernel.h @@ -1,5 +1,5 @@ -#ifndef PERF_LINUX_KERNEL_H_ -#define PERF_LINUX_KERNEL_H_ +#ifndef __TOOLS_LINUX_KERNEL_H +#define __TOOLS_LINUX_KERNEL_H #include #include diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST index a83cf75..fce4a47 100644 --- a/tools/perf/MANIFEST +++ b/tools/perf/MANIFEST @@ -40,6 +40,7 @@ tools/include/linux/bitops.h tools/include/linux/compiler.h tools/include/linux/export.h tools/include/linux/hash.h +tools/include/linux/kernel.h tools/include/linux/log2.h tools/include/linux/types.h include/asm-generic/bitops/arch_hweight.h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/