perl: fix build failure ("linux/module.h" not found)
PATCH 1/1 perl: fix build failure ("linux/module.h" not found)
From: Sergei Trofimovich <[email protected]>
CC util/rbtree.o../../lib/rbtree.c:24:26: fatal error: linux/export.h: No such file or directory compilation terminated.
make: *** [util/rbtree.o] Error 1
Follow linux/module.h -> linux/export.h rename.
CC Peter Zijlstra <[email protected]>
CC Paul Mackerras <[email protected]>
CC Ingo Molnar <[email protected]>
CC Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by Sergei Trofimovich <[email protected]>
--- 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
@@ -249,7 +249,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.8.5