x86: x2apic, IR: Clean up X86_X2APIC and INTR_REMAP config checks
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 20 Apr 2009 20:02:27 +0000 (13:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Apr 2009 07:08:25 +0000 (09:08 +0200)
commitfc1edaf9e7cc4d4696f83dee495b8f158d01c4eb
treec5a361ca44205b6341c03427816876e10b07f7c5
parent667c5296cc76fefe0abcb79228952b28d9af45e3
x86: x2apic, IR: Clean up X86_X2APIC and INTR_REMAP config checks

Add x2apic_supported() to clean up CONFIG_X86_X2APIC checks.

Fix CONFIG_INTR_REMAP checks.

[ Impact: cleanup ]

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: dwmw2@infradead.org
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Weidong Han <weidong.han@intel.com>
LKML-Reference: <20090420200450.128993000@linux-os.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/include/asm/io_apic.h
arch/x86/include/asm/irq_remapping.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/apic/probe_64.c
include/linux/dmar.h