From: Lai Jiangshan Date: Thu, 15 Sep 2011 14:56:56 +0000 (-0400) Subject: call_rcu implementation: add missing static X-Git-Tag: v0.6.5~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dcfc816529866e5ce98b12bcf0ce3ced408f6628;p=userspace-rcu.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) {