[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Move xenbus_suspend outside critical region with



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 399436887a32047613c28c93e51103c257c7a808
# Parent  3c1a91c309b856e7a366760bda40afece28d167d
Move xenbus_suspend outside critical region with
interrupts disabled.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 3c1a91c309b8 -r 399436887a32 
linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
--- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Thu Sep 29 16:12:48 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Thu Sep 29 16:39:33 2005
@@ -95,6 +95,8 @@
                return -EOPNOTSUPP;
        }
 #endif
+
+       xenbus_suspend();
 
        preempt_disable();
 #ifdef CONFIG_SMP
@@ -140,8 +142,6 @@
        }
 #endif
 
-       xenbus_suspend();
-
        gnttab_suspend();
 
 #ifdef __i386__

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.