mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Move xenbus_suspend outside critical region with
interrupts disabled. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
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__
|
||||
|
||||