lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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@sgi.com>

Fixes the build error introduced by my FIRST_SYSTEM_VECTOR patch

Signed-off-by: Alan Mayer <ajm@sgi.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


\
 
 \ /
  Last update: 2008-04-16 22:19    [W:0.045 / U:2.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site