x86, x2apic: fix clear_local_APIC() in the presence of x2apic
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 17 Mar 2009 00:05:00 +0000 (17:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Mar 2009 22:43:51 +0000 (15:43 -0700)
commitcf6567fe40c55e9cffca7355cd34e50fb2871e4e
treec05d4bdfa91a5c9ad35e9b6b1a06d9188ed7800f
parent7c6d9f9785d156d0438401ef270322da3d5247db
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>
arch/x86/include/asm/apic.h
arch/x86/include/asm/irq_remapping.h
arch/x86/kernel/apic/apic.c