public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr() before it get used
@ 2009-05-13 21:57 Jaswinder Singh Rajput
  2009-05-13 21:59 ` [PATCH 2/2] x86: apic/apic.c native_apic_write_dummy() should be static Jaswinder Singh Rajput
  2009-05-14  7:53 ` [PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr() before it get used Thomas Gleixner
  0 siblings, 2 replies; 6+ messages in thread
From: Jaswinder Singh Rajput @ 2009-05-13 21:57 UTC (permalink / raw)
  To: Ingo Molnar, x86 maintainers, LKML


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




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-14  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 21:57 [PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr() before it get used Jaswinder Singh Rajput
2009-05-13 21:59 ` [PATCH 2/2] x86: apic/apic.c native_apic_write_dummy() should be static Jaswinder Singh Rajput
2009-05-14  3:04   ` Cyrill Gorcunov
2009-05-14  7:53 ` [PATCH 1/2] x86: apic/apic.c declare default_init_apic_ldr() before it get used Thomas Gleixner
2009-05-14  8:49   ` [PATCH -tip] x86: apic/apic.c default_init_apic_ldr() is required only for X86_32 Jaswinder Singh Rajput
2009-05-14  9:24     ` Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox