1 /* two abstractions specific to kernel/smpboot.c, mainly to cater to visws
2 * which needs to alter them. */
4 static inline void smpboot_clear_io_apic_irqs(void)
6 #ifdef CONFIG_X86_IO_APIC
11 static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip
)
16 *((volatile unsigned short *)phys_to_virt(apic
->trampoline_phys_high
)) =
19 *((volatile unsigned short *)phys_to_virt(apic
->trampoline_phys_low
)) =
24 static inline void smpboot_restore_warm_reset_vector(void)
27 * Install writable page 0 entry to set BIOS data area.
32 * Paranoid: Set warm reset code and vector here back
37 *((volatile long *)phys_to_virt(apic
->trampoline_phys_low
)) = 0;
40 static inline void __init
smpboot_setup_io_apic(void)
42 #ifdef CONFIG_X86_IO_APIC
44 * Here we can be sure that there is an IO-APIC in the system. Let's
47 if (!skip_ioapic_setup
&& nr_ioapics
)
55 static inline void smpboot_clear_io_apic(void)
57 #ifdef CONFIG_X86_IO_APIC