From 2c86bf172e550b4bf089ac7f0de3f6370e243842 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Mon, 26 Mar 2012 11:17:05 +0200 Subject: [PATCH] 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 Date: Wed Nov 16 21:29:17 2011 -0500 We need to move module.h header into export.h. Signed-off-by: Jiri Olsa Cc: acme@redhat.com Cc: a.p.zijlstra@chello.nl Cc: paulus@samba.org Cc: cjashfor@linux.vnet.ibm.com Cc: fweisbec@gmail.com Link: http://lkml.kernel.org/r/1332753425-3299-1-git-send-email-jolsa@redhat.com Signed-off-by: Ingo Molnar --- tools/perf/Makefile | 2 +- tools/perf/util/include/linux/{module.h => export.h} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/perf/util/include/linux/{module.h => export.h} (100%) 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 -- 2.7.4