aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-03-15 16:38:04 +0100
committerThomas Gleixner <[email protected]>2018-03-15 20:34:40 +0100
commitfcb3029a8d89487470f2e175645a9a993949233c (patch)
tree84194bf601b5c14f7b3722c9e4b655096889dde0 /tools/perf/util/scripting-engines/trace-event-python.c
parent17a2f1ced0280068897990b0dd25ce70555b8ac7 (diff)
cpu/hotplug: Fix unused function warning
The cpuhp_is_ap_state() function is no longer called outside of the CONFIG_SMP #ifdef section, causing a harmless warning: kernel/cpu.c:129:13: error: 'cpuhp_is_ap_state' defined but not used [-Werror=unused-function] This moves the function into the #ifdef to get a clean build again. Fixes: 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_states") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Lai Jiangshan <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions