diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-18 18:45:58 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-19 02:07:17 +0200 |
commit | fa6b95fc7c6f2f3eb1560e1f33cd13197546c5a0 (patch) | |
tree | ae80284e24233e7d9b4e44228c0da7d1062e594b /arch/x86/kernel/apic_32.c | |
parent | x86: apic - generic_processor_info (diff) | |
download | linux-fa6b95fc7c6f2f3eb1560e1f33cd13197546c5a0.tar.xz linux-fa6b95fc7c6f2f3eb1560e1f33cd13197546c5a0.zip |
x86: apic - unify end_local_APIC_setup
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r-- | arch/x86/kernel/apic_32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index c3a252b1a8be..f1882329b9cf 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c @@ -1155,13 +1155,15 @@ void __cpuinit setup_local_APIC(void) void __cpuinit end_local_APIC_setup(void) { - unsigned long value; - lapic_setup_esr(); + +#ifdef CONFIG_X86_32 + unsigned int value; /* Disable the local apic timer */ value = apic_read(APIC_LVTT); value |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR); apic_write(APIC_LVTT, value); +#endif setup_apic_nmi_watchdog(NULL); apic_pm_activate(); |