[Xen-devel] [PATCH v2 for-4.9 2/6] x86/hvm: Correct long mode predicate

2017-04-05 Thread Andrew Cooper
hvm_long_mode_enabled() tests for EFER.LMA, which is specifically different to EFER.LME. Rename it to match its behaviour, and have it strictly return a boolean value (although all its callers already use it in implicitly-boolean contexts, so no functional change). Signed-off-by: Andrew Cooper R

Re: [Xen-devel] [PATCH v2 for-4.9 2/6] x86/hvm: Correct long mode predicate

2017-04-05 Thread Boris Ostrovsky
On 04/05/2017 01:33 PM, Andrew Cooper wrote: > hvm_long_mode_enabled() tests for EFER.LMA, which is specifically different to > EFER.LME. > > Rename it to match its behaviour, and have it strictly return a boolean value > (although all its callers already use it in implicitly-boolean contexts, so n