[ltt-dev] [PATCH 01/10] add missing static
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Sep 15 10:54:19 EDT 2011
* Lai Jiangshan (laijs at cn.fujitsu.com) wrote:
> Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Merged, thanks Lai!
Mathieu
> ---
> urcu-call-rcu-impl.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/urcu-call-rcu-impl.h b/urcu-call-rcu-impl.h
> index c14cc18..700d128 100644
> --- a/urcu-call-rcu-impl.h
> +++ b/urcu-call-rcu-impl.h
> @@ -383,7 +383,7 @@ struct call_rcu_data *create_call_rcu_data(unsigned long flags,
>
> int set_cpu_call_rcu_data(int cpu, struct call_rcu_data *crdp)
> {
> - int warned = 0;
> + static int warned = 0;
>
> call_rcu_lock(&call_rcu_mutex);
> if (cpu < 0 || maxcpus <= cpu) {
> --
> 1.7.4.4
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list