summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8936b6c)
There is a missing URCU_TLS() accessor in the refactoring of the ring
buffer context, which fails the tls-compat build.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ied620bf7dc3821bd3af87b500201130769b037df
if (nesting < 0)
return -EPERM;
if (nesting < 0)
return -EPERM;
- private_ctx = &private_ctx_stack[nesting];
+ private_ctx = &URCU_TLS(private_ctx_stack[nesting]);
memset(private_ctx, 0, sizeof(*private_ctx));
private_ctx->pub = ctx;
private_ctx->chan = lttng_chan->priv->rb_chan;
memset(private_ctx, 0, sizeof(*private_ctx));
private_ctx->pub = ctx;
private_ctx->chan = lttng_chan->priv->rb_chan;