x86/pat: Simplify host PAT handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 May 2018 13:09:49 +0000 (14:09 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Jun 2018 10:31:00 +0000 (11:31 +0100)
commitb4a049acf658e516d10765dbe26a4582860c9df6
tree2fe2baade291e841065fb42c8ecac1df850ee88c
parent7495a5b6aa1c741964baf18a1cbdb8b8d71cce98
x86/pat: Simplify host PAT handling

With the removal of the 32bit hypervisor build, host_pat is a constant value.
Drop the variable and the redundant cpu_has_pat predicate, and use a define
instead.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/acpi/suspend.c
xen/arch/x86/cpu/common.c
xen/arch/x86/hvm/mtrr.c
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/processor.h