x86: move cached CR4 value to struct cpu_info
authorJan Beulich <jbeulich@suse.com>
Fri, 18 Mar 2016 08:49:47 +0000 (09:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 18 Mar 2016 08:49:47 +0000 (09:49 +0100)
commit5d93f1d8ca7b62e85c8b98ed9c45b6cef89d17b8
tree52d4208341025d0b7ae0629459bcc2802d446b22
parente869abd77aa32fb0a5212d34ae954e4dbcb8f7a5
x86: move cached CR4 value to struct cpu_info

This not only eases using the cached value in assembly code, but also
improves the generated code resulting from such reads in C.

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