ia64/xen-unstable

changeset 2941:7067320caa37

bitkeeper revision 1.1159.1.409 (41938eb5R_aT_o7ziQIPb16yfl3SIg)

Calibrate delay loop on APs.
author cl349@freefall.cl.cam.ac.uk
date Thu Nov 11 16:09:25 2004 +0000 (2004-11-11)
parents 7457699e5eb5
children 4434c7806300
files linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c
line diff
     1.1 --- a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c	Thu Nov 11 16:08:57 2004 +0000
     1.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c	Thu Nov 11 16:09:25 2004 +0000
     1.3 @@ -404,6 +404,7 @@ void __init smp_callin(void)
     1.4  	smp_callin_clear_local_apic();
     1.5  	setup_local_APIC();
     1.6  	map_cpu_to_logical_apicid();
     1.7 +#endif
     1.8  
     1.9  	local_irq_enable();
    1.10  
    1.11 @@ -411,7 +412,6 @@ void __init smp_callin(void)
    1.12  	 * Get our bogomips.
    1.13  	 */
    1.14  	calibrate_delay();
    1.15 -#endif
    1.16  	Dprintk("Stack at about %p\n",&cpuid);
    1.17  
    1.18  	/*
    1.19 @@ -421,8 +421,8 @@ void __init smp_callin(void)
    1.20  
    1.21  #if 0
    1.22  	disable_APIC_timer();
    1.23 +#endif
    1.24  	local_irq_disable();
    1.25 -#endif
    1.26  	/*
    1.27  	 * Allow the master to continue.
    1.28  	 */