summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-ring_buffer-flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoconf-ring_buffer-flags.c')
-rw-r--r--runtime/autoconf-ring_buffer-flags.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-ring_buffer-flags.c b/runtime/autoconf-ring_buffer-flags.c
new file mode 100644
index 00000000..7d7b8df0
--- /dev/null
+++ b/runtime/autoconf-ring_buffer-flags.c
@@ -0,0 +1,6 @@
+#include <linux/ring_buffer.h>
+
+void ___autoconf_func(void)
+{
+ (void)ring_buffer_lock_reserve(NULL, 0, 0);
+}