diff options
Diffstat (limited to 'arch/x86/include/asm/smpboot_hooks.h')
-rw-r--r-- | arch/x86/include/asm/smpboot_hooks.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/smpboot_hooks.h b/arch/x86/include/asm/smpboot_hooks.h index 49adfd7bb4a4..0da7409f0bec 100644 --- a/arch/x86/include/asm/smpboot_hooks.h +++ b/arch/x86/include/asm/smpboot_hooks.h | |||
@@ -17,11 +17,11 @@ static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip) | |||
17 | spin_unlock_irqrestore(&rtc_lock, flags); | 17 | spin_unlock_irqrestore(&rtc_lock, flags); |
18 | local_flush_tlb(); | 18 | local_flush_tlb(); |
19 | pr_debug("1.\n"); | 19 | pr_debug("1.\n"); |
20 | *((volatile unsigned short *)phys_to_virt(apic->trampoline_phys_high)) = | 20 | *((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_HIGH)) = |
21 | start_eip >> 4; | 21 | start_eip >> 4; |
22 | pr_debug("2.\n"); | 22 | pr_debug("2.\n"); |
23 | *((volatile unsigned short *)phys_to_virt(apic->trampoline_phys_low)) = | 23 | *((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_LOW)) = |
24 | start_eip & 0xf; | 24 | start_eip & 0xf; |
25 | pr_debug("3.\n"); | 25 | pr_debug("3.\n"); |
26 | } | 26 | } |
27 | 27 | ||
@@ -42,7 +42,7 @@ static inline void smpboot_restore_warm_reset_vector(void) | |||
42 | CMOS_WRITE(0, 0xf); | 42 | CMOS_WRITE(0, 0xf); |
43 | spin_unlock_irqrestore(&rtc_lock, flags); | 43 | spin_unlock_irqrestore(&rtc_lock, flags); |
44 | 44 | ||
45 | *((volatile u32 *)phys_to_virt(apic->trampoline_phys_low)) = 0; | 45 | *((volatile u32 *)phys_to_virt(TRAMPOLINE_PHYS_LOW)) = 0; |
46 | } | 46 | } |
47 | 47 | ||
48 | static inline void __init smpboot_setup_io_apic(void) | 48 | static inline void __init smpboot_setup_io_apic(void) |