ia64/xen-unstable

changeset 15221:546044bfd49f

linux: Fix PV-on-HVM crash when installing PV drivers on native system.
From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri May 25 10:17:43 2007 +0100 (2007-05-25)
parents 4730ec3d5ab3
children 9073caff4b63
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Fri May 25 10:16:00 2007 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Fri May 25 10:17:43 2007 +0100
     1.3 @@ -172,6 +172,7 @@ static struct xen_bus_type xenbus_fronte
     1.4  	.levels = 2, 		/* device/type/<id> */
     1.5  	.get_bus_id = frontend_bus_id,
     1.6  	.probe = xenbus_probe_frontend,
     1.7 +	.error = -ENODEV,
     1.8  	.bus = {
     1.9  		.name     = "xen",
    1.10  		.match    = xenbus_match,
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c	Fri May 25 10:16:00 2007 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c	Fri May 25 10:17:43 2007 +0100
     2.3 @@ -115,6 +115,7 @@ static struct xen_bus_type xenbus_backen
     2.4  	.levels = 3, 		/* backend/type/<frontend>/<id> */
     2.5  	.get_bus_id = backend_bus_id,
     2.6  	.probe = xenbus_probe_backend,
     2.7 +	.error = -ENODEV,
     2.8  	.bus = {
     2.9  		.name     = "xen-backend",
    2.10  		.match    = xenbus_match,