x86/shim: Simplify compat handling in write_start_info()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 19 Apr 2021 14:33:05 +0000 (15:33 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 22 Apr 2021 12:17:33 +0000 (13:17 +0100)
commitecf5db4003290f98f5b600adbbf36c185d3e7b21
treeb05eaedbdb3cf47cdb7d82882845aef4e17371ea
parent3e701a3a8314a69b6c93ce83427f5d324b003ad8
x86/shim: Simplify compat handling in write_start_info()

Factor out a compat boolean to remove the lfence overhead from multiple
is_pv_32bit_domain() calls.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/shim.c