From: Mathieu Desnoyers Date: Tue, 8 Oct 2013 13:23:10 +0000 (-0400) Subject: Fix: urcu-qsbr: reversed logic on RCU_DEBUG X-Git-Tag: v0.9.0~136 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=d47b05cb05b91bb9679d127c51bc4beac12b899d;hp=d47b05cb05b91bb9679d127c51bc4beac12b899d Fix: urcu-qsbr: reversed logic on RCU_DEBUG * Dmitri Shubin wrote: > Shouldn't the condition in line 94 actually be > > 94 #if (!defined(BUILD_QSBR_LIB) && !defined(RCU_DEBUG)) > > So when RCU_DEBUG is _not_ defined we get static inlines for > rcu_read_{,un}lock() ? Indeed! Reported-by: Dmitri Shubin Signed-off-by: Mathieu Desnoyers ---