ia64/xen-unstable

changeset 18706:94227875c13d

x86: Remove needless IRQ critical section from init_xen_time().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Oct 22 15:11:54 2008 +0100 (2008-10-22)
parents ad39300ca063
children 734a5493f03a
files xen/arch/x86/time.c
line diff
     1.1 --- a/xen/arch/x86/time.c	Wed Oct 22 15:07:30 2008 +0100
     1.2 +++ b/xen/arch/x86/time.c	Wed Oct 22 15:11:54 2008 +0100
     1.3 @@ -1063,8 +1063,6 @@ void init_percpu_time(void)
     1.4  /* Late init function (after all CPUs are booted). */
     1.5  int __init init_xen_time(void)
     1.6  {
     1.7 -    local_irq_disable();
     1.8 -
     1.9      /* check if TSC is invariant during deep C state
    1.10         this is a new feature introduced by Nehalem*/
    1.11      if ( cpuid_edx(0x80000007) & (1u<<8) )
    1.12 @@ -1079,8 +1077,6 @@ int __init init_xen_time(void)
    1.13  
    1.14      do_settime(get_cmos_time(), 0, NOW());
    1.15  
    1.16 -    local_irq_enable();
    1.17 -
    1.18      return 0;
    1.19  }
    1.20