direct-io.hg

changeset 4491:8e0cc71b63e6

bitkeeper revision 1.1274.1.4 (425398d6dodQmT9FXdAh9slj1PTc4Q)

Reduce size of IRQ name arrays -- NR_CPUS not NR_IRQS.
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 06 08:07:50 2005 +0000 (2005-04-06)
parents f0790be67b5f
children 28c4d8ceff3c
files linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c	Tue Apr 05 17:47:45 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c	Wed Apr 06 08:07:50 2005 +0000
     1.3 @@ -444,7 +444,7 @@ static irqreturn_t ldebug_interrupt(
     1.4  }
     1.5  
     1.6  static DEFINE_PER_CPU(int, ldebug_irq);
     1.7 -static char ldebug_name[NR_IRQS][15];
     1.8 +static char ldebug_name[NR_CPUS][15];
     1.9  
    1.10  void ldebug_setup(void)
    1.11  {
    1.12 @@ -1335,8 +1335,8 @@ extern irqreturn_t smp_call_function_int
    1.13  
    1.14  static DEFINE_PER_CPU(int, resched_irq);
    1.15  static DEFINE_PER_CPU(int, callfunc_irq);
    1.16 -static char resched_name[NR_IRQS][15];
    1.17 -static char callfunc_name[NR_IRQS][15];
    1.18 +static char resched_name[NR_CPUS][15];
    1.19 +static char callfunc_name[NR_CPUS][15];
    1.20  
    1.21  void __init smp_intr_init(void)
    1.22  {
     2.1 --- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c	Tue Apr 05 17:47:45 2005 +0000
     2.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c	Wed Apr 06 08:07:50 2005 +0000
     2.3 @@ -762,7 +762,7 @@ void time_resume(void)
     2.4  }
     2.5  
     2.6  #ifdef CONFIG_SMP
     2.7 -static char timer_name[NR_IRQS][15];
     2.8 +static char timer_name[NR_CPUS][15];
     2.9  void local_setup_timer(void)
    2.10  {
    2.11  	int seq, cpu = smp_processor_id();