re-add calls accidentally deleted from run_all_nonirq_keyhandlers()
authorKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 10:12:58 +0000 (10:12 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 10:12:58 +0000 (10:12 +0000)
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>
xen/common/keyhandler.c

index 81c65fd697d274d489c010fe6333623fd945c852..d642431ba9e664cf97ff71f2f236ac6e2ad639c5 100644 (file)
@@ -444,6 +444,8 @@ static void run_all_nonirq_keyhandlers(unsigned long unused)
     struct keyhandler *h;
     int k;
 
+    console_start_log_everything();
+
     for ( k = 0; k < ARRAY_SIZE(key_table); k++ )
     {
         process_pending_softirqs();
@@ -453,6 +455,8 @@ static void run_all_nonirq_keyhandlers(unsigned long unused)
         printk("[%c: %s]\n", k, h->desc);
         (*h->u.fn)(k);
     }
+
+    console_end_log_everything();
 }
 
 static DECLARE_TASKLET(run_all_keyhandlers_tasklet,