From: "Jan Beulich" Subject: [PATCH] re-add calls accidentally deleted from run_all_nonirq_keyhandlers() Date: Thu, 23 Dec 2010 13:08:44 +0000 Message-ID: <4D1357EC0200007800029824@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartB39FE0CC.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartB39FE0CC.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --- 2010-12-23.orig/xen/common/keyhandler.c +++ 2010-12-23/xen/common/keyhandler.c @@ -444,6 +444,8 @@ static void run_all_nonirq_keyhandlers(u struct keyhandler *h; int k; =20 + console_start_log_everything(); + for ( k =3D 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(); } =20 static DECLARE_TASKLET(run_all_keyhandlers_tasklet, --=__PartB39FE0CC.0__= Content-Type: text/plain; name="keyhandler-tighten.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="keyhandler-tighten.patch" c/s 22538:a3a29e67aa7e, having got applied in a form different from=0Athe = one submitted, resulted in the calls to=0Aconsole_{start,end}_log_everythin= g() getting removed without=0Areplacement. Add them back since, other than = run_all_keyhandlers(),=0Athis doesn't run with log-everything already in = effect.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = 2010-12-23.orig/xen/common/keyhandler.c=0A+++ 2010-12-23/xen/common/keyhand= ler.c=0A@@ -444,6 +444,8 @@ static void run_all_nonirq_keyhandlers(u=0A = struct keyhandler *h;=0A int k;=0A =0A+ console_start_log_everythin= g();=0A+=0A for ( k =3D 0; k < ARRAY_SIZE(key_table); k++ )=0A = {=0A process_pending_softirqs();=0A@@ -453,6 +455,8 @@ static void = run_all_nonirq_keyhandlers(u=0A printk("[%c: %s]\n", k, = h->desc);=0A (*h->u.fn)(k);=0A }=0A+=0A+ console_end_log_eve= rything();=0A }=0A =0A static DECLARE_TASKLET(run_all_keyhandlers_tasklet,= =0A --=__PartB39FE0CC.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartB39FE0CC.0__=--