Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b8cd8a3 authored by Boris Ostrovsky's avatar Boris Ostrovsky Committed by David Vrabel
Browse files

x86/xen: Remove unnecessary BUG_ON(preemptible()) in xen_setup_timer()



There is no reason for having it and, with commit 250a1ac6 ("x86,
smpboot: Remove pointless preempt_disable() in
native_smp_prepare_cpus()"), it prevents HVM guests from booting.

Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent f1d04b23
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -458,8 +458,6 @@ void xen_setup_timer(int cpu)

void xen_setup_cpu_clockevents(void)
{
	BUG_ON(preemptible());

	clockevents_register_device(this_cpu_ptr(&xen_clock_events.evt));
}