lkml.org 
[lkml]   [2009]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
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
Date

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




\
 
 \ /
  Last update: 2009-05-14 00:05    [W:0.107 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site