summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-oneachcpu-retry.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoconf-oneachcpu-retry.c')
-rw-r--r--runtime/autoconf-oneachcpu-retry.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/autoconf-oneachcpu-retry.c b/runtime/autoconf-oneachcpu-retry.c
index 304d9842..d4745a48 100644
--- a/runtime/autoconf-oneachcpu-retry.c
+++ b/runtime/autoconf-oneachcpu-retry.c
@@ -1,7 +1,13 @@
+#include <linux/stddef.h>
+#include <linux/irqflags.h>
#include <linux/smp.h>
+static void no_op(void *arg)
+{
+}
+
void ____autoconf_func(void)
{
/* Older on_each_cpu() calls had a "retry" parameter */
- (void)on_each_cpu(NULL, NULL, 0, 0);
+ (void)on_each_cpu(no_op, NULL, 0, 0);
}