Fix choice of default flavour in urcu/map/urcu.h
authorDuncan Sands <baldrick@free.fr>
Tue, 16 Aug 2011 11:10:01 +0000 (07:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Aug 2011 11:10:01 +0000 (07:10 -0400)
commit052fdaeea35b4742e398fbadcf3a2ce96e4b868a
tree39a54edcb5281c6fb8ef0ea9ce91cacc5406c6ba
parent1c45b26657363c2608c7f66d4fe382bf37752015
Fix choice of default flavour in urcu/map/urcu.h

Hi, I noticed in the 0.64 release (and git too) that if a flavour is not
specified explicitly then RCU_MB is chosen in urcu/map/urcu.h, while the
docs say and the Makefile expects RCU_MEMBARRIER.  Note that the header
file urcu/static/urcu.h has similar logic but uses RCU_MEMBARRIER for
the default.

Before this patch:

$ nm *.a | grep rcu_init
00000000000003c0 T rcu_init_mb
00000000000003c0 T rcu_init_mb
0000000000000000 T rcu_init_sig

After this patch:

$ nm *.a | grep rcu_init
00000000000003c0 T rcu_init_memb
00000000000003c0 T rcu_init_mb
0000000000000000 T rcu_init_sig

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/map/urcu.h
This page took 0.025635 seconds and 4 git commands to generate.