ia64/xen-unstable

changeset 6328:d8fd24b43080

No 'boot error' message if booting secondary vcpu succeeds.
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 22 10:18:14 2005 +0000 (2005-08-22)
parents 21d2b0144306
children 531ad4bde8f2
files linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c	Mon Aug 22 09:52:06 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c	Mon Aug 22 10:18:14 2005 +0000
     1.3 @@ -923,7 +923,8 @@ static int __init do_boot_cpu(int apicid
     1.4  	ctxt.ctrlreg[3] = virt_to_mfn(swapper_pg_dir) << PAGE_SHIFT;
     1.5  
     1.6  	boot_error = HYPERVISOR_boot_vcpu(cpu, &ctxt);
     1.7 -	printk("boot error: %ld\n", boot_error);
     1.8 +	if (boot_error)
     1.9 +		printk("boot error: %ld\n", boot_error);
    1.10  
    1.11  	if (!boot_error) {
    1.12  		/*