summaryrefslogtreecommitdiffstats
path: root/kernel/static_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/static_call.c')
-rw-r--r--kernel/static_call.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/static_call.c b/kernel/static_call.c
new file mode 100644
index 0000000000..e9c3e69f38
--- /dev/null
+++ b/kernel/static_call.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
+#include <linux/static_call.h>
+
+long __static_call_return0(void)
+{
+ return 0;
+}
+EXPORT_SYMBOL_GPL(__static_call_return0);