ia64/xen-unstable

changeset 12802:0bea8e773508

[LINUX] The crash note resource should be nested inside the hypervisor
resource.

This was exposed by 12709:98413fa7826c which corrected the length of
the hypervisor resource.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Dec 05 17:01:34 2006 +0000 (2006-12-05)
parents 7df4d8cfba3b
children a467eb0c5596 3e2b6365ba75
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	Tue Dec 05 12:42:29 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Tue Dec 05 17:01:34 2006 +0000
     1.3 @@ -106,7 +106,7 @@ void xen_machine_kexec_register_resource
     1.4  	request_resource(res, &xen_hypervisor_res);
     1.5  
     1.6  	for (k = 0; k < xen_max_nr_phys_cpus; k++)
     1.7 -		request_resource(res, xen_phys_cpus + k);
     1.8 +		request_resource(&xen_hypervisor_res, xen_phys_cpus + k);
     1.9  
    1.10  }
    1.11