summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-oneachcpu-retry.c
diff options
context:
space:
mode:
authorElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-10-20 10:44:52 -0400
committerElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-10-20 10:44:52 -0400
commit6b1730cb635b8d671bca8c3df173db3f1282ecdb (patch)
tree0ec95b40c26591002a89a25c928772295a80605f /runtime/autoconf-oneachcpu-retry.c
parentf9e62cd9ca858f8fdd3a46f4b9e42b47092fc423 (diff)
parentaacc3f504dc5e52a8c5a30a469e2c8b9bb9986bd (diff)
downloadsystemtap-steved-6b1730cb635b8d671bca8c3df173db3f1282ecdb.tar.gz
systemtap-steved-6b1730cb635b8d671bca8c3df173db3f1282ecdb.tar.xz
systemtap-steved-6b1730cb635b8d671bca8c3df173db3f1282ecdb.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);
}