ia64/xen-unstable

changeset 6622:62af59588060

Fix to allow -xen and -xen0 kernels to be used as unprivilged guests.
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Sat Sep 03 17:14:20 2005 +0000 (2005-09-03)
parents a1de77c1486c
children dbded18962a4
files linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c	Fri Sep 02 17:36:29 2005 -0800
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c	Sat Sep 03 17:14:20 2005 +0000
     1.3 @@ -1633,8 +1633,8 @@ void __init setup_arch(char **cmdline_p)
     1.4  	}
     1.5  #endif
     1.6  
     1.7 -
     1.8 -	dmi_scan_machine();
     1.9 +	if (xen_start_info.flags & SIF_INITDOMAIN)
    1.10 +		dmi_scan_machine();
    1.11  
    1.12  #ifdef CONFIG_X86_GENERICARCH
    1.13  	generic_apic_probe(*cmdline_p);