From: Mathieu Desnoyers Date: Wed, 7 Sep 2011 16:18:26 +0000 (-0700) Subject: rculfhash: set size instead of max for per-cpu count scheme X-Git-Tag: v0.7.0~43^2~176 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=88d058152adc7b34b27c58f4186564a3eadb1a6e;p=urcu.git rculfhash: set size instead of max for per-cpu count scheme Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 5719bc2..20d389d 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -1117,7 +1117,7 @@ static unsigned long resize_target_update_count(struct rcu_table *t, unsigned long count) { - return _uatomic_max(&t->resize_target, count); + return uatomic_set(&t->resize_target, count); } static