Fix: do not use CONFIG_HOTPLUG_CPU for the new hotplug API
authorLars Persson <lars.persson@axis.com>
Sun, 11 Mar 2018 14:02:43 +0000 (15:02 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Mar 2018 16:08:02 +0000 (12:08 -0400)
commit894ce5dc825733d1ccab25b1aede9ce0be2a7c4e
tree3c706499d6e4816cb64375b4d47e2179edd1a22e
parenta93e3ba3297ac450506e7d783c9f69052326e671
Fix: do not use CONFIG_HOTPLUG_CPU for the new hotplug API

Kernel configurations without CONFIG_HOTPLUG_CPU throw an unknown
symbol error when attempting to insert the lttng-trace module:
 lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
 lttng_tracer: Unknown symbol lttng_hp_online (err 0)

This was caused by lttng-events and lttng-context-perf-counter not
agreeing on which preprocessor condition that should guard the use of
the hotplug API. In fact the API is available also on kernels built
without CONFIG_HOTPLUG_CPU.

Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-events.c
This page took 0.026897 seconds and 4 git commands to generate.