ia64/xen-unstable

changeset 9945:9ce1e7c67d5d

Fix IA64 transparent-virtualization issue (Xen may not be running).
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author kaf24@firebug.cl.cam.ac.uk
date Fri May 05 13:46:59 2006 +0100 (2006-05-05)
parents 65a2cf84b335
children 9aba6cd8e9e1
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Fri May 05 13:41:35 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Fri May 05 13:46:59 2006 +0100
     1.3 @@ -1069,6 +1069,11 @@ static int __init wait_for_devices(void)
     1.4  {
     1.5  	unsigned long timeout = jiffies + 10*HZ;
     1.6  
     1.7 +	if (xen_init() < 0) {
     1.8 +		DPRINTK("failed");
     1.9 +		return -ENODEV;
    1.10 +	}
    1.11 +
    1.12  	while (time_before(jiffies, timeout)) {
    1.13  		if (all_devices_ready())
    1.14  			return 0;