From: Ian Campbell Date: Tue, 5 Dec 2006 17:01:34 +0000 (+0000) Subject: [LINUX] The crash note resource should be nested inside the hypervisor X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15493^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8537fbaeade8b85d8751b2702b0b3e76dabaeff6;p=xen.git [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 --- diff --git a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c index 88a2423340..1f4a828e55 100644 --- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c @@ -106,7 +106,7 @@ void xen_machine_kexec_register_resources(struct resource *res) request_resource(res, &xen_hypervisor_res); for (k = 0; k < xen_max_nr_phys_cpus; k++) - request_resource(res, xen_phys_cpus + k); + request_resource(&xen_hypervisor_res, xen_phys_cpus + k); }