summaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2009-10-24 02:50:00 -0200
committerAvi Kivity <avi@redhat.com>2009-12-03 09:32:21 +0200
commit3ce672d48400e0112fec7a3cb6bb2120493c6e11 (patch)
tree9c91c037539940ec13916118964b93566e79ab43 /arch/x86/math-emu
parent18fa000ae453767b59ab97477925895a3f0c46ea (diff)
downloadtalos-op-linux-3ce672d48400e0112fec7a3cb6bb2120493c6e11.tar.gz
talos-op-linux-3ce672d48400e0112fec7a3cb6bb2120493c6e11.zip
KVM: SVM: init_vmcb(): remove redundant save->cr0 initialization
The svm_set_cr0() call will initialize save->cr0 properly even when npt is enabled, clearing the NW and CD bits as expected, so we don't need to initialize it manually for npt_enabled anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/math-emu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud