Fix: urcu-qsbr: reversed logic on RCU_DEBUG
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Oct 2013 13:23:10 +0000 (09:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Oct 2013 13:23:10 +0000 (09:23 -0400)
commitd47b05cb05b91bb9679d127c51bc4beac12b899d
treec974c0bb30b900da0d0521076787b1f65f4b7138
parentc1be8fb947a1d56a0f0b2fd82eca6f23c467b0ee
Fix: urcu-qsbr: reversed logic on RCU_DEBUG

* Dmitri Shubin <sbn@tbricks.com> 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 <sbn@tbricks.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-qsbr.h
This page took 0.024679 seconds and 4 git commands to generate.