KVM: x86: manually unroll bad_mt_xwr loop
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Sep 2015 08:34:26 +0000 (10:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Oct 2015 08:32:16 +0000 (10:32 +0200)
commit951f9fd74f2d826fff1d84a8ec34b491517dc15d
tree4a56f2655f38e5ed83e445a581bd30c0660ebfe5
parent089d7b6ec5151ad06a2cd524bc0580d311b641ad
KVM: x86: manually unroll bad_mt_xwr loop

The loop is computing one of two constants, it can be simpler to write
everything inline.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c