Move xenbus_suspend outside critical region with

interrupts disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-09-29 17:39:33 +01:00
1 parent ef03706306
commit d2eef91db8
1 file changed
+2 -2
@@ -96,6 +96,8 @@ static int __do_suspend(void *ignore)
}
#endif
xenbus_suspend();
preempt_disable();
#ifdef CONFIG_SMP
/* Take all of the other cpus offline. We need to be careful not
@@ -140,8 +142,6 @@ static int __do_suspend(void *ignore)
}
#endif
xenbus_suspend();
gnttab_suspend();
#ifdef __i386__
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.