]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/x86: Don't BUG on CPU0 offlining
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 26 Jun 2017 16:39:30 +0000 (18:39 +0200)
committerJuergen Gross <jgross@suse.com>
Sun, 23 Jul 2017 06:09:24 +0000 (08:09 +0200)
commit0e4d394fe50308f69eb061eb89de78279df1e9dc
tree1ded5a4769dd411d8da8ac61e0388bcb956d4e6b
parent4b162c530d9c101381500e586fedb1340595a6ff
xen/x86: Don't BUG on CPU0 offlining

CONFIG_BOOTPARAM_HOTPLUG_CPU0 allows to offline CPU0 but Xen HVM guests
BUG() in xen_teardown_timer(). Remove the BUG_ON(), this is probably a
leftover from ancient times when CPU0 hotplug was impossible, it works
just fine for HVM.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/time.c