|
@@ -128,25 +128,16 @@ static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip)
|
|
spin_lock_irqsave(&rtc_lock, flags);
|
|
spin_lock_irqsave(&rtc_lock, flags);
|
|
CMOS_WRITE(0xa, 0xf);
|
|
CMOS_WRITE(0xa, 0xf);
|
|
spin_unlock_irqrestore(&rtc_lock, flags);
|
|
spin_unlock_irqrestore(&rtc_lock, flags);
|
|
- local_flush_tlb();
|
|
|
|
- pr_debug("1.\n");
|
|
|
|
*((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_HIGH)) =
|
|
*((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_HIGH)) =
|
|
start_eip >> 4;
|
|
start_eip >> 4;
|
|
- pr_debug("2.\n");
|
|
|
|
*((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_LOW)) =
|
|
*((volatile unsigned short *)phys_to_virt(TRAMPOLINE_PHYS_LOW)) =
|
|
start_eip & 0xf;
|
|
start_eip & 0xf;
|
|
- pr_debug("3.\n");
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static inline void smpboot_restore_warm_reset_vector(void)
|
|
static inline void smpboot_restore_warm_reset_vector(void)
|
|
{
|
|
{
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
|
|
|
|
- /*
|
|
|
|
- * Install writable page 0 entry to set BIOS data area.
|
|
|
|
- */
|
|
|
|
- local_flush_tlb();
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Paranoid: Set warm reset code and vector here back
|
|
* Paranoid: Set warm reset code and vector here back
|
|
* to default values.
|
|
* to default values.
|