summaryrefslogtreecommitdiffstats
path: root/linux-2.6-compile-fixes.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2012-03-29 14:41:04 -0500
committerJustin M. Forbes <jforbes@redhat.com>2012-03-29 14:41:04 -0500
commit4f8c60a7f666e766619d44d836c3c1a42e753e36 (patch)
treebb34eb911356601b72ed815c7410ac712fa1894f /linux-2.6-compile-fixes.patch
parentc770d055245937d44b9e08afafa38bed7c441040 (diff)
downloadkernel-4f8c60a7f666e766619d44d836c3c1a42e753e36.tar.gz
kernel-4f8c60a7f666e766619d44d836c3c1a42e753e36.tar.xz
kernel-4f8c60a7f666e766619d44d836c3c1a42e753e36.zip
Linux v3.3-8839-gb5174fa
Diffstat (limited to 'linux-2.6-compile-fixes.patch')
-rw-r--r--linux-2.6-compile-fixes.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/linux-2.6-compile-fixes.patch b/linux-2.6-compile-fixes.patch
index 34c08ce47..c0d5082c8 100644
--- a/linux-2.6-compile-fixes.patch
+++ b/linux-2.6-compile-fixes.patch
@@ -4,3 +4,42 @@
# Please add the errors from gcc before the diffs to save others having
# to do a compile to figure out what your diff is fixing. Thanks.
#
+# ../../lib/rbtree.c:24:26: fatal error: linux/export.h: No such file or directory
+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/export.h b/tools/perf/util/include/linux/export.h
+new file mode 100644
+index 0000000..b43e2dc
+--- /dev/null
++++ b/tools/perf/util/include/linux/export.h
+@@ -0,0 +1,6 @@
++#ifndef PERF_LINUX_MODULE_H
++#define PERF_LINUX_MODULE_H
++
++#define EXPORT_SYMBOL(name)
++
++#endif
+diff --git a/tools/perf/util/include/linux/module.h b/tools/perf/util/include/linux/module.h
+deleted file mode 100644
+index b43e2dc..0000000
+--- a/tools/perf/util/include/linux/module.h
++++ /dev/null
+@@ -1,6 +0,0 @@
+-#ifndef PERF_LINUX_MODULE_H
+-#define PERF_LINUX_MODULE_H
+-
+-#define EXPORT_SYMBOL(name)
+-
+-#endif
+--