summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/apic.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-27 10:41:56 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-08 13:16:04 +0200
commitf3294a33e765d8308c3e17b951a13e0db9cf5f00 (patch)
treed73b3b157bd1e21b9dbbdd49bfbb64f5763accfb /include/asm-x86/apic.h
parentx86: early res print out alignment v2 (diff)
downloadlinux-f3294a33e765d8308c3e17b951a13e0db9cf5f00.tar.xz
linux-f3294a33e765d8308c3e17b951a13e0db9cf5f00.zip
x86: let setup_arch call init_apic_mappings for 32bit
instead of calling it from trap_init() also move init ioapic mapping out of apic_32.c so 32 bit do same as 64 bit Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/apic.h')
-rw-r--r--include/asm-x86/apic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h
index 9fe941cd843d..6ae6ae68d4cd 100644
--- a/include/asm-x86/apic.h
+++ b/include/asm-x86/apic.h
@@ -135,6 +135,7 @@ extern int apic_is_clustered_box(void);
#else /* !CONFIG_X86_LOCAL_APIC */
static inline void lapic_shutdown(void) { }
#define local_apic_timer_c2_ok 1
+static inline void init_apic_mappings(void) { }
#endif /* !CONFIG_X86_LOCAL_APIC */