Mailing List Archive

[xen-unstable] re-add calls accidentally deleted from run_all_nonirq_keyhandlers()
# HG changeset patch
# User Keir Fraser <keir@xen.org>
# Date 1293185578 0
# Node ID dca1b7cf2e2c27cd160bd1d1d284e3f810d4936c
# Parent e8acb9753ff1a5cd3d6a45eda5f4c6f0059c281a
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>
---
xen/common/keyhandler.c | 4 ++++
1 files changed, 4 insertions(+)

diff -r e8acb9753ff1 -r dca1b7cf2e2c xen/common/keyhandler.c
--- a/xen/common/keyhandler.c Fri Dec 24 10:10:45 2010 +0000
+++ b/xen/common/keyhandler.c Fri Dec 24 10:12:58 2010 +0000
@@ -444,6 +444,8 @@ static void run_all_nonirq_keyhandlers(u
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(u
printk("[%c: %s]\n", k, h->desc);
(*h->u.fn)(k);
}
+
+ console_end_log_everything();
}

static DECLARE_TASKLET(run_all_keyhandlers_tasklet,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog