ia64/xen-unstable

changeset 6632:dd7aac3720b1

Suspend console after xenbus, resume console before xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Sep 05 08:21:58 2005 +0000 (2005-09-05)
parents d0a5b1857c35
children 4594827336ad
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	Sun Sep 04 22:45:45 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Mon Sep 05 08:21:58 2005 +0000
     1.3 @@ -172,10 +172,10 @@ static int __do_suspend(void *ignore)
     1.4      smp_suspend();
     1.5  #endif
     1.6  
     1.7 +    xenbus_suspend();
     1.8 +
     1.9      xencons_suspend();
    1.10  
    1.11 -    xenbus_suspend();
    1.12 -
    1.13      ctrl_if_suspend();
    1.14  
    1.15      irq_suspend();
    1.16 @@ -217,10 +217,10 @@ static int __do_suspend(void *ignore)
    1.17  
    1.18      ctrl_if_resume();
    1.19  
    1.20 +    xencons_resume();
    1.21 +
    1.22      xenbus_resume();
    1.23  
    1.24 -    xencons_resume();
    1.25 -
    1.26  #ifdef CONFIG_SMP
    1.27      smp_resume();
    1.28  #endif