WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86: use key handler scratch buffer in du

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: use key handler scratch buffer in dump_irqs()
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 02 Mar 2010 06:10:18 -0800
Delivery-date: Tue, 02 Mar 2010 06:11:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267538735 0
# Node ID 4554b305228aff80ecc4dcc33fd02bd5da93781a
# Parent  92984e102687fe03f2e763ec2b6aadbe94f695fe
x86: use key handler scratch buffer in dump_irqs()

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/irq.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 92984e102687 -r 4554b305228a xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Tue Mar 02 13:43:48 2010 +0000
+++ b/xen/arch/x86/irq.c        Tue Mar 02 14:05:35 2010 +0000
@@ -1584,7 +1584,6 @@ static void dump_irqs(unsigned char key)
     irq_guest_action_t *action;
     struct domain *d;
     unsigned long flags;
-    char cpustr[NR_CPUS/4+NR_CPUS/32+2];
 
     printk("Guest interrupt information:\n");
 
@@ -1599,10 +1598,11 @@ static void dump_irqs(unsigned char key)
 
         spin_lock_irqsave(&desc->lock, flags);
 
-        cpumask_scnprintf(cpustr, sizeof(cpustr), desc->affinity);
+        cpumask_scnprintf(keyhandler_scratch, sizeof(keyhandler_scratch),
+                          desc->affinity);
         printk("   IRQ:%4d affinity:%s vec:%02x type=%-15s"
                " status=%08x ",
-               irq, cpustr, cfg->vector,
+               irq, keyhandler_scratch, cfg->vector,
                desc->handler->typename, desc->status);
 
         if ( !(desc->status & IRQ_GUEST) )

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: use key handler scratch buffer in dump_irqs(), Xen patchbot-unstable <=