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] Reduce size of IRQ name arrays -- NR_CPUS not NR_IRQS.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Reduce size of IRQ name arrays -- NR_CPUS not NR_IRQS.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 06 Apr 2005 08:07:50 +0000
Delivery-date: Wed, 06 Apr 2005 09:02:44 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1278, 2005/04/06 09:07:50+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Reduce size of IRQ name arrays -- NR_CPUS not NR_IRQS.
        Signed-off-by: Don Fry <brazilnut@xxxxxxxxxx>
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 smpboot.c |    6 +++---
 time.c    |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c 
b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c
--- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c    2005-04-06 
05:02:48 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c    2005-04-06 
05:02:48 -04:00
@@ -444,7 +444,7 @@
 }
 
 static DEFINE_PER_CPU(int, ldebug_irq);
-static char ldebug_name[NR_IRQS][15];
+static char ldebug_name[NR_CPUS][15];
 
 void ldebug_setup(void)
 {
@@ -1335,8 +1335,8 @@
 
 static DEFINE_PER_CPU(int, resched_irq);
 static DEFINE_PER_CPU(int, callfunc_irq);
-static char resched_name[NR_IRQS][15];
-static char callfunc_name[NR_IRQS][15];
+static char resched_name[NR_CPUS][15];
+static char callfunc_name[NR_CPUS][15];
 
 void __init smp_intr_init(void)
 {
diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c 
b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c
--- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c       2005-04-06 
05:02:48 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c       2005-04-06 
05:02:48 -04:00
@@ -762,7 +762,7 @@
 }
 
 #ifdef CONFIG_SMP
-static char timer_name[NR_IRQS][15];
+static char timer_name[NR_CPUS][15];
 void local_setup_timer(void)
 {
        int seq, cpu = smp_processor_id();

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Reduce size of IRQ name arrays -- NR_CPUS not NR_IRQS., BitKeeper Bot <=