direct-io.hg

changeset 6614: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,9 +172,9 @@ static int __do_suspend(void *ignore)
     1.4      smp_suspend();
     1.5  #endif
     1.6  
     1.7 -    xencons_suspend();
     1.8 +    xenbus_suspend();
     1.9  
    1.10 -    xenbus_suspend();
    1.11 +    xencons_suspend();
    1.12  
    1.13      ctrl_if_suspend();
    1.14  
    1.15 @@ -217,9 +217,9 @@ static int __do_suspend(void *ignore)
    1.16  
    1.17      ctrl_if_resume();
    1.18  
    1.19 -    xenbus_resume();
    1.20 +    xencons_resume();
    1.21  
    1.22 -    xencons_resume();
    1.23 +    xenbus_resume();
    1.24  
    1.25  #ifdef CONFIG_SMP
    1.26      smp_resume();