[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Remove needless IRQ critical section from init_xen_time().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224684714 -3600
# Node ID 94227875c13d4713b3c44f322663881b5c4ea4a0
# Parent  ad39300ca063a36df3e1a020ea5546d61c08b2e5
x86: Remove needless IRQ critical section from init_xen_time().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/time.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r ad39300ca063 -r 94227875c13d xen/arch/x86/time.c
--- a/xen/arch/x86/time.c       Wed Oct 22 15:07:30 2008 +0100
+++ b/xen/arch/x86/time.c       Wed Oct 22 15:11:54 2008 +0100
@@ -1063,8 +1063,6 @@ void init_percpu_time(void)
 /* Late init function (after all CPUs are booted). */
 int __init init_xen_time(void)
 {
-    local_irq_disable();
-
     /* check if TSC is invariant during deep C state
        this is a new feature introduced by Nehalem*/
     if ( cpuid_edx(0x80000007) & (1u<<8) )
@@ -1078,8 +1076,6 @@ int __init init_xen_time(void)
     init_platform_timer();
 
     do_settime(get_cmos_time(), 0, NOW());
-
-    local_irq_enable();
 
     return 0;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.