[tip:perf/urgent] perf tools: Switch module.h into export.h

From: tip-bot for Jiri Olsa
Date: Mon Mar 26 2012 - 11:32:18 EST


Commit-ID: 2c86bf172e550b4bf089ac7f0de3f6370e243842
Gitweb: http://git.kernel.org/tip/2c86bf172e550b4bf089ac7f0de3f6370e243842
Author: Jiri Olsa <jolsa@xxxxxxxxxx>
AuthorDate: Mon, 26 Mar 2012 11:17:05 +0200
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
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 <paul.gortmaker@xxxxxxxxxxxxx>
Date: Wed Nov 16 21:29:17 2011 -0500

We need to move module.h header into export.h.

Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: acme@xxxxxxxxxx
Cc: a.p.zijlstra@xxxxxxxxx
Cc: paulus@xxxxxxxxx
Cc: cjashfor@xxxxxxxxxxxxxxxxxx
Cc: fweisbec@xxxxxxxxx
Link: http://lkml.kernel.org/r/1332753425-3299-1-git-send-email-jolsa@xxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
tools/perf/Makefile | 2 +-
.../perf/util/include/linux/{module.h => export.h} | 0
2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b492e3a..2f42886 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -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
diff --git a/tools/perf/util/include/linux/module.h b/tools/perf/util/include/linux/export.h
similarity index 100%
rename from tools/perf/util/include/linux/module.h
rename to tools/perf/util/include/linux/export.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/