summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2013-02-04 16:00:28 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2013-02-06 22:00:02 -0200
commit5037878e2223278aa627162aa0bf106dffac19d4 (patch)
tree34acc92617f0df16ceed4ff8a674184d218227ef /arch/x86/kvm/mmu.c
parentb0da5bec30eca7ffbb2c89afa6fe503fd418d3a6 (diff)
KVM: VMX: cleanup vmx_set_cr0().
When calculating hw_cr0 teh current code masks bits that should be always on and re-adds them back immediately after. Cleanup the code by masking only those bits that should be dropped from hw_cr0. This allow us to get rid of some defines. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions