summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorGuo Chao2012-06-28 09:16:43 +0200
committerMarcelo Tosatti2012-07-20 20:19:48 +0200
commitc5ec2e56d0a654797ee43a31001738ccd05eef0b (patch)
treeabc62d44a82145545f7159bc5ff0c082ea98dbb2 /arch/x86/kvm/svm.c
parentKVM: VMX: Fix typos (diff)
downloadkernel-qcow2-linux-c5ec2e56d0a654797ee43a31001738ccd05eef0b.tar.gz
kernel-qcow2-linux-c5ec2e56d0a654797ee43a31001738ccd05eef0b.tar.xz
kernel-qcow2-linux-c5ec2e56d0a654797ee43a31001738ccd05eef0b.zip
KVM: SVM: Fix typos
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index baead950d6c8..687d0c30e559 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -2063,7 +2063,7 @@ static inline bool nested_svm_intr(struct vcpu_svm *svm)
if (svm->nested.intercept & 1ULL) {
/*
* The #vmexit can't be emulated here directly because this
- * code path runs with irqs and preemtion disabled. A
+ * code path runs with irqs and preemption disabled. A
* #vmexit emulation might sleep. Only signal request for
* the #vmexit here.
*/
@@ -2409,7 +2409,7 @@ static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm)
{
/*
* This function merges the msr permission bitmaps of kvm and the
- * nested vmcb. It is omptimized in that it only merges the parts where
+ * nested vmcb. It is optimized in that it only merges the parts where
* the kvm msr permission bitmap may contain zero bits
*/
int i;