debuggers.hg

changeset 22677:dca1b7cf2e2c

re-add calls accidentally deleted from run_all_nonirq_keyhandlers()

c/s 22538:a3a29e67aa7e, having got applied in a form different from
the one submitted, resulted in the calls to
console_{start,end}_log_everything() getting removed without
replacement. Add them back since, other than run_all_keyhandlers(),
this doesn't run with log-everything already in effect.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir@xen.org>
date Fri Dec 24 10:12:58 2010 +0000 (2010-12-24)
parents e8acb9753ff1
children 7cc87dcf30a1
files xen/common/keyhandler.c
line diff
     1.1 --- a/xen/common/keyhandler.c	Fri Dec 24 10:10:45 2010 +0000
     1.2 +++ b/xen/common/keyhandler.c	Fri Dec 24 10:12:58 2010 +0000
     1.3 @@ -444,6 +444,8 @@ static void run_all_nonirq_keyhandlers(u
     1.4      struct keyhandler *h;
     1.5      int k;
     1.6  
     1.7 +    console_start_log_everything();
     1.8 +
     1.9      for ( k = 0; k < ARRAY_SIZE(key_table); k++ )
    1.10      {
    1.11          process_pending_softirqs();
    1.12 @@ -453,6 +455,8 @@ static void run_all_nonirq_keyhandlers(u
    1.13          printk("[%c: %s]\n", k, h->desc);
    1.14          (*h->u.fn)(k);
    1.15      }
    1.16 +
    1.17 +    console_end_log_everything();
    1.18  }
    1.19  
    1.20  static DECLARE_TASKLET(run_all_keyhandlers_tasklet,