Messages in this thread Patch in this message | | | Subject | [PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr() before it get used | From | Jaswinder Singh Rajput <> | Date | Thu, 14 May 2009 03:27:21 +0530 |
| |
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@gmail.com> --- 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
| |