perf, tool: Switch module.h into export.h
PATCH 1/1 perf, tool: Switch module.h into export.h
The perf build is broken due to following change in lib/rbtree.c object:
lib: reduce the use of module.h wherever possible commit 8bc3bcc93a2b4e47d5d410146f6546bca6171663
Author: Paul Gortmaker <[email protected]>
Date: Wed Nov 16 21:29:17 2011 -0500
We need to move module.h header into export.h.
--- tools/perf/Makefile | 2 +- tools/perf/util/include/linux/export.h | 6 ++++++ tools/perf/util/include/linux/module.h | 6 ------ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 tools/perf/util/include/linux/export.h delete mode 100644 tools/perf/util/include/linux/module.h
tools/perf/Makefile +1 -1
@@ -251,7 +251,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/module.h +LIB_H += util/include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux/prefetch.h LIB_H += util/include/linux/rbtree.h
tools/perf/util/include/linux/export.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef PERF_LINUX_MODULE_H +#define PERF_LINUX_MODULE_H + +#define EXPORT_SYMBOL (name) + +#endif
tools/perf/util/include/linux/module.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef PERF_LINUX_MODULE_H -#define PERF_LINUX_MODULE_H - -#define EXPORT_SYMBOL (name) - -#endif
Signature · 1 line
1.7.6.5
[tip:perf/urgent] perf tools: Switch module.h into export.h
Commit-ID: 2c86bf172e550b4bf089ac7f0de3f6370e243842 Gitweb: http://git.kernel.org/tip/2c86bf172e550b4bf089ac7f0de3f6370e243842 Author: Jiri Olsa <[email protected]> AuthorDate: Mon, 26 Mar 2012 11:17:05 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 26 Mar 2012 17:19:57 +0200
perf tools: Switch module.h into export.h
When merged to Linus's latest tree the perf build is broken due to following change in lib/rbtree.c object:
lib: reduce the use of module.h wherever possible commit 8bc3bcc93a2b4e47d5d410146f6546bca6171663
Author: Paul Gortmaker <[email protected]>
Date: Wed Nov 16 21:29:17 2011 -0500
We need to move module.h header into export.h.
---
tools/perf/Makefile | 2 +-
.../perf/util/include/linux/{module.h => export.h} | 0
2 files changed, 1 insertions(+), 1 deletions(-)tools/perf/Makefile +1 -1
@@ -251,7 +251,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/module.h +LIB_H += util/include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux/prefetch.h LIB_H += util/include/linux/rbtree.h