debuggers.hg

changeset 21039:4554b305228a

x86: use key handler scratch buffer in dump_irqs()

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 02 14:05:35 2010 +0000 (2010-03-02)
parents 92984e102687
children 71af69a9d393
files xen/arch/x86/irq.c
line diff
     1.1 --- a/xen/arch/x86/irq.c	Tue Mar 02 13:43:48 2010 +0000
     1.2 +++ b/xen/arch/x86/irq.c	Tue Mar 02 14:05:35 2010 +0000
     1.3 @@ -1584,7 +1584,6 @@ static void dump_irqs(unsigned char key)
     1.4      irq_guest_action_t *action;
     1.5      struct domain *d;
     1.6      unsigned long flags;
     1.7 -    char cpustr[NR_CPUS/4+NR_CPUS/32+2];
     1.8  
     1.9      printk("Guest interrupt information:\n");
    1.10  
    1.11 @@ -1599,10 +1598,11 @@ static void dump_irqs(unsigned char key)
    1.12  
    1.13          spin_lock_irqsave(&desc->lock, flags);
    1.14  
    1.15 -        cpumask_scnprintf(cpustr, sizeof(cpustr), desc->affinity);
    1.16 +        cpumask_scnprintf(keyhandler_scratch, sizeof(keyhandler_scratch),
    1.17 +                          desc->affinity);
    1.18          printk("   IRQ:%4d affinity:%s vec:%02x type=%-15s"
    1.19                 " status=%08x ",
    1.20 -               irq, cpustr, cfg->vector,
    1.21 +               irq, keyhandler_scratch, cfg->vector,
    1.22                 desc->handler->typename, desc->status);
    1.23  
    1.24          if ( !(desc->status & IRQ_GUEST) )