From: Jim Keniston Date: Fri, 17 Oct 2008 21:43:40 +0000 (-0700) Subject: PR6923: Make on_each_cpu() autoconf test work on old kernels. X-Git-Tag: release-0.8~86^2~1 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=52333a6929a036ba787593eb42acab81d11d91b1;p=systemtap.git PR6923: Make on_each_cpu() autoconf test work on old kernels. --- diff --git a/ChangeLog b/ChangeLog index 9d75a951b..05834b968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-17 Jim Keniston + + PR6923 + * runtime/autoconf-oneachcpu-retry.c: Compiles successfully on + old kernels. + 2008-10-14 Kent Sebastian * cache.cxx (cache_clean): Minor changes, mainly stylistic. diff --git a/runtime/autoconf-oneachcpu-retry.c b/runtime/autoconf-oneachcpu-retry.c index 304d9842c..d4745a487 100644 --- a/runtime/autoconf-oneachcpu-retry.c +++ b/runtime/autoconf-oneachcpu-retry.c @@ -1,7 +1,13 @@ +#include +#include #include +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); }