urcu.c: declare noop urcu_init() function non-static
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 21 Jul 2009 22:09:47 +0000 (18:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 21 Jul 2009 22:09:47 +0000 (18:09 -0400)
commit538d7df5086144837beb7a9c1e2a94eb637b9904
tree88ffed97db11549ac860dd302e410e7f6da6a12c
parentb4ce15269d95cb1fc5542d0e192ec593b2222dd5
urcu.c: declare noop urcu_init() function non-static

The RCU library is sometimes used in constructor context. In these cases,
because it is impossible to predict whether the liburcu constructor has already
been called, an explicit call to the urcu_init function must be made.
Declaring the noop version of the urcu_init() function as static breaks code
that calls urcu_init() explicitly when CONFIG_AVOID_SIGNALS is true. To prevent
this, this patch makes the declaration non-static.

From: Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu.c
This page took 0.024802 seconds and 4 git commands to generate.