ia64/xen-unstable

changeset 7135:399436887a32

Move xenbus_suspend outside critical region with
interrupts disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Sep 29 17:39:33 2005 +0100 (2005-09-29)
parents 3c1a91c309b8
children 1abbb6448b4a
files linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Thu Sep 29 17:12:48 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Thu Sep 29 17:39:33 2005 +0100
     1.3 @@ -96,6 +96,8 @@ static int __do_suspend(void *ignore)
     1.4  	}
     1.5  #endif
     1.6  
     1.7 +	xenbus_suspend();
     1.8 +
     1.9  	preempt_disable();
    1.10  #ifdef CONFIG_SMP
    1.11  	/* Take all of the other cpus offline.  We need to be careful not
    1.12 @@ -140,8 +142,6 @@ static int __do_suspend(void *ignore)
    1.13  	}
    1.14  #endif
    1.15  
    1.16 -	xenbus_suspend();
    1.17 -
    1.18  	gnttab_suspend();
    1.19  
    1.20  #ifdef __i386__