x86/xen: Remove unnecessary BUG_ON(preemptible()) in xen_setup_timer()
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 22 Dec 2014 18:33:10 +0000 (13:33 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 23 Dec 2014 10:31:55 +0000 (10:31 +0000)
There is no reason for having it and, with commit 250a1ac685f1 ("x86,
smpboot: Remove pointless preempt_disable() in
native_smp_prepare_cpus()"), it prevents HVM guests from booting.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/time.c

index f473d268d387fcdc8f237153b378508ec0c03f56..23019b483908c3cff327db75806db7d7a6331a93 100644 (file)
@@ -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));
 }
 
This page took 0.027434 seconds and 5 git commands to generate.