summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genx2apic_phys.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-25 19:39:03 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-27 06:28:16 +0200
commitd25ae38b7e005af03843833bbd811ffe8c5f8cb4 (patch)
treebc4016cd14572affa04e3fed6f0dd095ce134fc3 /arch/x86/kernel/genx2apic_phys.c
parentedb181ac4b0c7c1240503da46349a3fb69af9ef6 (diff)
downloadblackbird-op-linux-d25ae38b7e005af03843833bbd811ffe8c5f8cb4.tar.gz
blackbird-op-linux-d25ae38b7e005af03843833bbd811ffe8c5f8cb4.zip
x86: add apic probe for genapic 64bit - fix
intr_remapping_enabled get assigned later, so need to check that in setup_apic_routing Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Jack Steiner <steiner@sgi.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genx2apic_phys.c')
-rw-r--r--arch/x86/kernel/genx2apic_phys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/genx2apic_phys.c b/arch/x86/kernel/genx2apic_phys.c
index 3229c68aedd4..958d537b4cc9 100644
--- a/arch/x86/kernel/genx2apic_phys.c
+++ b/arch/x86/kernel/genx2apic_phys.c
@@ -21,7 +21,7 @@ early_param("x2apic_phys", set_x2apic_phys_mode);
static int __init x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{
- if (cpu_has_x2apic && intr_remapping_enabled && x2apic_phys)
+ if (cpu_has_x2apic && x2apic_phys)
return 1;
return 0;
OpenPOWER on IntegriCloud