ia64/xen-unstable

changeset 13890:355c740d1330

Use printk log-level limiting even during Xen boot.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Keir Fraser <keir@xensource.com>
date Thu Feb 08 17:46:14 2007 +0000 (2007-02-08)
parents a68a3c6cac5f
children 0cbf1586a432
files xen/drivers/char/console.c
line diff
     1.1 --- a/xen/drivers/char/console.c	Thu Feb 08 17:38:30 2007 +0000
     1.2 +++ b/xen/drivers/char/console.c	Thu Feb 08 17:46:14 2007 +0000
     1.3 @@ -102,7 +102,7 @@ static void parse_guest_loglvl(char *s);
     1.4  custom_param("loglvl", parse_loglvl);
     1.5  custom_param("guest_loglvl", parse_guest_loglvl);
     1.6  
     1.7 -static atomic_t print_everything = ATOMIC_INIT(1);
     1.8 +static atomic_t print_everything = ATOMIC_INIT(0);
     1.9  
    1.10  #define ___parse_loglvl(s, ps, lvlstr, lvlnum)          \
    1.11      if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) {    \
    1.12 @@ -569,9 +569,6 @@ void console_endboot(void)
    1.13  
    1.14      /* Serial input is directed to DOM0 by default. */
    1.15      switch_serial_input();
    1.16 -
    1.17 -    /* Now we implement the logging thresholds. */
    1.18 -    console_end_log_everything();
    1.19  }
    1.20  
    1.21  void console_start_log_everything(void)