x86/cpuid: Move the legacy cpuids array into struct cpuid_policy
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 4 Jan 2017 13:31:53 +0000 (13:31 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Jan 2017 13:16:57 +0000 (13:16 +0000)
commit37814513bc9dcd46d084d5713eee7f8d6f7f870f
tree5d9a58c07e677f6649005c7a6711a94ecd70bb10
parentd1bc8380e508a0dc4d5d30de05e4e7c082e39893
x86/cpuid: Move the legacy cpuids array into struct cpuid_policy

This hides the legacy details inside the cpuid subsystem, where they will
eventually be dropped entirely.

While altering the line containing paging_initialised, change its type to bool
to match its use.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/include/asm-x86/cpuid.h
xen/include/asm-x86/domain.h