summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-oneachcpu-retry.c
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-10-20 16:30:48 +1000
committerddomingo <ddomingo@redhat.com>2008-10-20 16:30:48 +1000
commitaacc3f504dc5e52a8c5a30a469e2c8b9bb9986bd (patch)
tree4c4eafedafff8d56532a22af46c266157f171164 /runtime/autoconf-oneachcpu-retry.c
parent3cb837a1af0ccad4ba335ee6b21e906a3021d198 (diff)
parentb0ff684d5ac5b0ade97a4e508a92a7f743068221 (diff)
downloadsystemtap-steved-aacc3f504dc5e52a8c5a30a469e2c8b9bb9986bd.tar.gz
systemtap-steved-aacc3f504dc5e52a8c5a30a469e2c8b9bb9986bd.tar.xz
systemtap-steved-aacc3f504dc5e52a8c5a30a469e2c8b9bb9986bd.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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);
}