X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu-call-rcu-impl.h;h=700d1289192a31a5f2693cf79e4efd99be993220;hp=c14cc18bde825c6c3cfec1557222e764c88f85a9;hb=dcfc816529866e5ce98b12bcf0ce3ced408f6628;hpb=cc558521e7bc8767bc78c93436cd4af3c6c84edd 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) {