]> git.baikalelectronics.ru Git - kernel.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)
commit08f1fb0b77008008dfbef35f20f9d34e32244834
tree1ded5a4769dd411d8da8ac61e0388bcb956d4e6b
parentf1ca6e4291654cf1793c418085965b7134b477e4
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