ia64/xen-unstable

changeset 2210:8d02fbe8e19e

bitkeeper revision 1.1159.17.20 (411ba1b3C9nxXbGo3TmMBqL5zmK2LQ)

Allow domains other than domain 0 to write to the console in VERBOSE builds.
author cl349@freefall.cl.cam.ac.uk
date Thu Aug 12 16:58:27 2004 +0000 (2004-08-12)
parents 34bccd941eb4
children 9840fcd30668
files xen/drivers/char/console.c
line diff
     1.1 --- a/xen/drivers/char/console.c	Thu Aug 12 15:54:04 2004 +0000
     1.2 +++ b/xen/drivers/char/console.c	Thu Aug 12 16:58:27 2004 +0000
     1.3 @@ -292,7 +292,7 @@ long do_console_io(int cmd, int count, c
     1.4      char *kbuf;
     1.5      long  rc;
     1.6  
     1.7 -#ifdef NDEBUG
     1.8 +#ifndef VERBOSE
     1.9      /* Only domain-0 may access the emergency console. */
    1.10      if ( current->domain != 0 )
    1.11          return -EPERM;