summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorGuo Chao <yan@linux.vnet.ibm.com>2012-06-28 15:16:43 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2012-07-20 15:19:48 -0300
commitc5ec2e56d0a654797ee43a31001738ccd05eef0b (patch)
treeabc62d44a82145545f7159bc5ff0c082ea98dbb2 /arch/x86/kvm/svm.c
parent0fa060714753ef65aef294b3462efb0212520933 (diff)
downloadop-kernel-dev-c5ec2e56d0a654797ee43a31001738ccd05eef0b.zip
op-kernel-dev-c5ec2e56d0a654797ee43a31001738ccd05eef0b.tar.gz
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 baead95..687d0c3 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;
OpenPOWER on IntegriCloud