apic: Move hypervisor detection of x2apic to hypervisor.h
authorSheng Yang <sheng@linux.intel.com>
Tue, 21 Dec 2010 06:18:48 +0000 (14:18 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 7 Jan 2011 15:03:49 +0000 (10:03 -0500)
commit2904ed8dd5a748c52caf4d8b09d3d9834b5932fa
tree93ebbdf8f44fd43519514b348d5e447113628351
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
apic: Move hypervisor detection of x2apic to hypervisor.h

Then we can reuse it for Xen later.

Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Avi Kivity <avi@redhat.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/hypervisor.h
arch/x86/kernel/apic/apic.c