diff options
author | 2021-02-21 21:43:39 +0800 | |
---|---|---|
committer | 2021-03-10 09:16:09 +0100 | |
commit | e54b78886949e16301e8ac3cc4b2b43969bfe5fa (patch) | |
tree | dc53ba030dc738e31f686c3338b0dd8f60b96e7d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpu/hotplug: Fix build error of using {add,remove}_cpu() with !CONFIG_SMP (diff) | |
download | wireguard-linux-e54b78886949e16301e8ac3cc4b2b43969bfe5fa.tar.xz wireguard-linux-e54b78886949e16301e8ac3cc4b2b43969bfe5fa.zip |
virt: acrn: Make remove_cpu sysfs invisible with !CONFIG_HOTPLUG_CPU
Without cpu hotplug support, vCPU cannot be removed from a Service VM.
Don't expose remove_cpu sysfs when CONFIG_HOTPLUG_CPU disabled.
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Qais Yousef <qais.yousef@arm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
Link: https://lore.kernel.org/r/20210221134339.57851-2-shuo.a.liu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions