ia64/xen-unstable

changeset 12707:c7e33053f59b

[LINUX] Only initialise kexec in domain0.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Thu Nov 30 17:53:59 2006 +0000 (2006-11-30)
parents 582d21e2d3cd
children 2e9eb9980c41
files linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Thu Nov 30 17:47:50 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Thu Nov 30 17:53:59 2006 +0000
     1.3 @@ -22,6 +22,9 @@ void xen_machine_kexec_setup_resources(v
     1.4  	struct resource *res;
     1.5  	int k = 0;
     1.6  
     1.7 +	if (!is_initial_xendomain())
     1.8 +		return;
     1.9 +
    1.10  	/* determine maximum number of physical cpus */
    1.11  
    1.12  	while (1) {