[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.SGI.3.96.1080416151620.8706317m-100000@fergus.americas.sgi.com>
Date:	Wed, 16 Apr 2008 15:17:20 -0500 (CDT)
From:	Alan Mayer <ajm@....com>
To:	Alan Mayer <ajm@....com>
Cc:	mingo@...e.hu, torvalds@...ux-foundation.org,
	linux-kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86_64: Change FIRST_SYSTEM_VECTOR to a variable.
Subject: [PATCH] x86_64: Fix build error from FIRST_SYSTEM_VECTOR patch
From: Alan Mayer <ajm@....com>
Fixes the build error introduced by my FIRST_SYSTEM_VECTOR patch
Signed-off-by: Alan Mayer <ajm@....com>
---
Index: ingo/arch/x86/kernel/apic_32.c
===================================================================
--- ingo.orig/arch/x86/kernel/apic_32.c	2008-04-10 14:02:10.000000000 -0500
+++ ingo/arch/x86/kernel/apic_32.c	2008-04-16 14:28:34.000000000 -0500
@@ -74,6 +74,10 @@
 int local_apic_timer_c2_ok;
 EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok);
 
+int first_system_vector = 0xfe;
+
+char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
+
 /*
  * Debug level, exported for io_apic.c
  */
Index: ingo/arch/x86/kernel/io_apic_32.c
===================================================================
--- ingo.orig/arch/x86/kernel/io_apic_32.c	2008-04-10 14:02:10.000000000 -0500
+++ ingo/arch/x86/kernel/io_apic_32.c	2008-04-16 14:29:07.000000000 -0500
@@ -73,9 +73,9 @@
 
 static int disable_timer_pin_1 __initdata;
 
-int first_system_vector = 0xfe;
+extern int first_system_vector;
 
-char system_vectors[NR_VECTORS] = { [0 ... NR_VECTORS-1] = SYS_VECTOR_FREE};
+extern char system_vectors[];
 
 /*
  * Rough estimation of how many shared IRQs there are, can
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
