x86/mm: re-order a few conditionals
authorJan Beulich <jbeulich@suse.com>
Wed, 8 Jan 2020 14:03:58 +0000 (15:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jan 2020 14:03:58 +0000 (15:03 +0100)
commitfe4df51ff776c8e543879ed552ace34d217e048d
tree44b8848599ef3ea7f1d82897669d58477fa7b3b1
parenta4cde0266d4287650ec62d8f850e4f84359e5e4f
x86/mm: re-order a few conditionals

is_{hvm,pv}_*() can be expensive now, so where possible evaluate cheaper
conditions first.

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