aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Levin <[email protected]>2015-08-25 01:19:43 -0400
committerIngo Molnar <[email protected]>2015-08-25 09:44:22 +0200
commit92e25fd9be82a37247e587415ff9a9e773008d56 (patch)
tree94d27522858203f0e225ab4320a0b5b8f1a03467
parentc13dcf9f2d6f5f06ef1bf79ec456df614c5e058b (diff)
tools: Restore export.h
Commit 3f735377b ("tools: Copy lib/rbtree.c to tools/lib/") has removed export.h, which was still in use by liblockdep. Restore it. Signed-off-by: Sasha Levin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--tools/include/linux/export.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h
new file mode 100644
index 000000000000..d07e586b9ba0
--- /dev/null
+++ b/tools/include/linux/export.h
@@ -0,0 +1,10 @@
+#ifndef _TOOLS_LINUX_EXPORT_H_
+#define _TOOLS_LINUX_EXPORT_H_
+
+#define EXPORT_SYMBOL(sym)
+#define EXPORT_SYMBOL_GPL(sym)
+#define EXPORT_SYMBOL_GPL_FUTURE(sym)
+#define EXPORT_UNUSED_SYMBOL(sym)
+#define EXPORT_UNUSED_SYMBOL_GPL(sym)
+
+#endif