ia64/xen-unstable

changeset 3843:184c3ab84dc7

bitkeeper revision 1.1211 (42135fc9O6u50eCen5G3SeEPjYjX6w)

Fix interrupt enable during ia64 bootstrap to avoid race.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@scramble.cl.cam.ac.uk
date Wed Feb 16 14:59:21 2005 +0000 (2005-02-16)
parents 2ba0cb1921de
children 0698ed077bc2
files xen/arch/ia64/xensetup.c
line diff
     1.1 --- a/xen/arch/ia64/xensetup.c	Wed Feb 16 14:48:20 2005 +0000
     1.2 +++ b/xen/arch/ia64/xensetup.c	Wed Feb 16 14:59:21 2005 +0000
     1.3 @@ -20,6 +20,7 @@
     1.4  //#include <xen/console.h>
     1.5  //#include <xen/serial.h>
     1.6  #include <xen/trace.h>
     1.7 +#include <linux/interrupt.h>
     1.8  //#include <asm/shadow.h>
     1.9  //#include <asm/io.h>
    1.10  //#include <asm/uaccess.h>
    1.11 @@ -291,6 +292,7 @@ void cmain(multiboot_info_t *mbi)
    1.12  			SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
    1.13  printk("About to call scheduler_init()\n");
    1.14      scheduler_init();
    1.15 +    cli();
    1.16  printk("About to call time_init()\n");
    1.17      time_init();
    1.18  printk("About to call ac_timer_init()\n");
    1.19 @@ -410,6 +412,7 @@ printk("About to call init_trace_bufs()\
    1.20  #endif
    1.21      domain_unpause_by_systemcontroller(dom0);
    1.22      domain0_ready = 1;
    1.23 +    sti();
    1.24  printk("About to call startup_cpu_idle_loop()\n");
    1.25      startup_cpu_idle_loop();
    1.26  }