Fix: preemptible and migratable context error handling
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Oct 2016 17:27:01 +0000 (13:27 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Oct 2016 17:27:01 +0000 (13:27 -0400)
commitd0e59d6f099f4663cc62bffb59d960cd4235064f
treeb993c6c9cc66128c5e4ca239bcd8fc38900b1acb
parent7d99572f4f490e82132eddc925d6178f16894da4
Fix: preemptible and migratable context error handling

When built against preempt-rt and preempt kernels, the "return 0" case
means success, but lttng-modules incorrectly prints an error in the
kernel log.

Given that we handle the -ENOSYS error in lttng_context_init, there is
no need to keep the ifdefs in that function.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-context.c
This page took 0.025001 seconds and 4 git commands to generate.