projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d04b2
)
x86/xen: Remove unnecessary BUG_ON(preemptible()) in xen_setup_timer()
author
Boris Ostrovsky
<
[email protected]
>
Mon, 22 Dec 2014 18:33:10 +0000
(13:33 -0500)
committer
David Vrabel
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David Vrabel <
[email protected]
>
arch/x86/xen/time.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/time.c
b/arch/x86/xen/time.c
index f473d268d387fcdc8f237153b378508ec0c03f56..23019b483908c3cff327db75806db7d7a6331a93 100644
(file)
--- a/
arch/x86/xen/time.c
+++ b/
arch/x86/xen/time.c
@@
-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));
}