summaryrefslogtreecommitdiffstats
path: root/src/zstd/contrib/linux-kernel/test/include/linux/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zstd/contrib/linux-kernel/test/include/linux/module.h')
-rw-r--r--src/zstd/contrib/linux-kernel/test/include/linux/module.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/zstd/contrib/linux-kernel/test/include/linux/module.h b/src/zstd/contrib/linux-kernel/test/include/linux/module.h
new file mode 100644
index 000000000..ef514c349
--- /dev/null
+++ b/src/zstd/contrib/linux-kernel/test/include/linux/module.h
@@ -0,0 +1,10 @@
+#ifndef LINUX_MODULE_H_
+#define LINUX_MODULE_H_
+
+#define EXPORT_SYMBOL(symbol) \
+ void* __##symbol = symbol
+#define MODULE_LICENSE(license) static char const *const LICENSE = license
+#define MODULE_DESCRIPTION(description) \
+ static char const *const DESCRIPTION = description
+
+#endif // LINUX_MODULE_H_