x86/amd: don't set pv_post_outb_hook when !CONFIG_PV
authorWei Liu <wei.liu2@citrix.com>
Thu, 8 Nov 2018 14:52:03 +0000 (14:52 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 8 Nov 2018 16:40:20 +0000 (16:40 +0000)
commit20c076d13b50e6d968a25ae51278054b6aa2fd08
treed5daac512aaea3d8e6a597225f25da56f647aba2
parentff22dad92a5e3aa4b3b6dcfc74759b6dea483d56
x86/amd: don't set pv_post_outb_hook when !CONFIG_PV

Obviously it won't exist when PV is disabled.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/amd.c