[PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr()before it get used

From: Jaswinder Singh Rajput
Date: Wed May 13 2009 - 18:02:34 EST



default_init_apic_ldr() is also required for 64 bit so moving it out
from CONFIG_X86_32.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
---
arch/x86/include/asm/apic.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 229d0be..d1acc60 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -469,10 +469,6 @@ static inline unsigned int read_apic_id(void)

extern void default_setup_apic_routing(void);

-#ifdef CONFIG_X86_32
-
-extern struct apic apic_default;
-
/*
* Set up the logical destination ID.
*
@@ -482,6 +478,10 @@ extern struct apic apic_default;
*/
extern void default_init_apic_ldr(void);

+#ifdef CONFIG_X86_32
+
+extern struct apic apic_default;
+
static inline int default_apic_id_registered(void)
{
return physid_isset(read_apic_id(), phys_cpu_present_map);
--
1.6.0.6



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/