x86: helpers for cpu feature manipulation
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Oct 2015 13:01:50 +0000 (14:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Oct 2015 13:01:50 +0000 (14:01 +0100)
commit7729eed1a51b417c029a32d1e6b94eb0751d1643
tree8e8c2b6e26179b54ff102f39d6d278d5d2a9276d
parent69176a4b9c27796bb4cde1e13f28f5eace425400
x86: helpers for cpu feature manipulation

Expose them to assembly code, and replace open-coded versions.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/head.S
xen/arch/x86/boot/trampoline.S
xen/arch/x86/cpu/common.c
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/hvm/hvm.c
xen/arch/x86/traps.c
xen/arch/x86/xstate.c
xen/include/asm-x86/amd.h
xen/include/asm-x86/asm_defns.h
xen/include/asm-x86/cpufeature.h