From: Lai Jiangshan Date: Thu, 15 Sep 2011 14:56:56 +0000 (-0400) Subject: call_rcu implementation: add missing static X-Git-Tag: v0.7.0~43^2~148^2~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fa31631d53186b02a004c139c6e7d68bea90b6c1;p=urcu.git call_rcu implementation: add missing static Signed-off-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers --- 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) {