diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2009-03-17 01:05:00 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 23:43:51 +0100 |
commit | cf6567fe40c55e9cffca7355cd34e50fb2871e4e (patch) | |
tree | c05d4bdfa91a5c9ad35e9b6b1a06d9188ed7800f /arch/x86/include/asm/apic.h | |
parent | x86, x2apic: use virtual wire A mode in disable_IO_APIC() with interrupt-rema... (diff) | |
download | linux-cf6567fe40c55e9cffca7355cd34e50fb2871e4e.tar.xz linux-cf6567fe40c55e9cffca7355cd34e50fb2871e4e.zip |
x86, x2apic: fix clear_local_APIC() in the presence of x2apic
Impact: cleanup, paranoia
We were not clearing the local APIC in clear_local_APIC() in the
presence of x2apic. Fix it.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 394d177d721b..6d5b6f0900e1 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -184,6 +184,9 @@ static inline int x2apic_enabled(void) { return 0; } + +#define x2apic 0 + #endif extern int get_physical_broadcast(void); |