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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoconf-oneachcpu-retry.c b/runtime/autoconf-oneachcpu-retry.c
new file mode 100644
index 00000000..304d9842
--- /dev/null
+++ b/runtime/autoconf-oneachcpu-retry.c
@@ -0,0 +1,7 @@
+#include <linux/smp.h>
+
+void ____autoconf_func(void)
+{
+ /* Older on_each_cpu() calls had a "retry" parameter */
+ (void)on_each_cpu(NULL, NULL, 0, 0);
+}