x86/cpuid: Untangle the <asm/cpufeature.h> include hierachy
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 8 Dec 2016 08:46:42 +0000 (08:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 4 Jan 2017 18:03:03 +0000 (18:03 +0000)
commit44325775f7241311087558bb895d1a18100d589f
treecef9b6fafb1561581f9d9266b7cdd8903de3c1b4
parent36e83e513e273c02050a89f2d74939d8be9f1db8
x86/cpuid: Untangle the <asm/cpufeature.h> include hierachy

The use of X86_FEATURES_ONLY was shortlived in Linux for the same problem
encountered here.  The following series needs to add extra includes to
asm/cpuid.h, which breaks the build elsewhere given the current hierachy.

Move the feature definitions into a separate header file, which also matches
the solution Linux used.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/bitops.h
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/cpufeatures.h [new file with mode: 0644]
xen/include/asm-x86/cpufeatureset.h
xen/include/asm-x86/cpuid.h