x86, amd: Don't probe for extended APIC ID if APICs are disabled
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 22 Jul 2009 16:59:35 +0000 (09:59 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 22 Jul 2009 17:06:49 +0000 (10:06 -0700)
commit2cb078603abb612e3bcd428fb8122c3d39e08832
treef7458972c577287ca6aef610e4bd17957fd35c7d
parent6effa8f6fc786f00e3a23eae605e0f2e8e748faa
x86, amd: Don't probe for extended APIC ID if APICs are disabled

If we've logically disabled apics, don't probe the PCI space for the
AMD extended APIC ID.

[ Impact: prevent boot crash under Xen. ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Reported-by: Bastian Blank <bastian@waldi.eu.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/amd.c