diff options
| author | Len Brown <len.brown@intel.com> | 2004-12-01 03:59:57 -0500 |
|---|---|---|
| committer | Len Brown <lenb@dhcppc3.> | 2004-12-01 03:59:57 -0500 |
| commit | 0e3448746fcaaaeb8ea5061efa89d750d7403fbb (patch) | |
| tree | a66134abc39924c36e25b35c754a1f7e36d421d3 /include | |
| parent | 7b28bc9322892dba038d3485de0a0ca3227533fa (diff) | |
[ACPI] disable LAPIC at reboot and poweroff if Linux forced it on
http://bugzilla.kernel.org/show_bug.cgi?id=3643
Signed-off-by: Alexey Y Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/apic.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-i386/apic.h b/include/asm-i386/apic.h index 8135c7c290f2..55ed2de23a62 100644 --- a/include/asm-i386/apic.h +++ b/include/asm-i386/apic.h @@ -88,6 +88,7 @@ extern void clear_local_APIC(void); extern void connect_bsp_APIC (void); extern void disconnect_bsp_APIC (void); extern void disable_local_APIC (void); +extern void lapic_shutdown (void); extern int verify_local_APIC (void); extern void cache_APIC_registers (void); extern void sync_Arb_IDs (void); @@ -116,6 +117,9 @@ extern unsigned int nmi_watchdog; #define NMI_LOCAL_APIC 2 #define NMI_INVALID 3 -#endif /* CONFIG_X86_LOCAL_APIC */ +#else /* !CONFIG_X86_LOCAL_APIC */ +static inline void lapic_shutdown(void) { } + +#endif /* !CONFIG_X86_LOCAL_APIC */ #endif /* __ASM_APIC_H */ |
