KVM: x86: Fix typo in function name

Previous thread: KVM: IRQ ACK notifier should be used with in-kernel irqchip by Linux Kernel Mailing List on Friday, January 2, 2009 - 1:59 pm. (1 message)

Next thread: KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor migration by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:00 pm. (1 message)
From: Linux Kernel Mailing List
Date: Friday, January 2, 2009 - 2:00 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b8222a...
Commit:     b8222ad2e52fd2c0c4e5e1c53e65d131f911b767
Parent:     e19e30effac03f5a005a8e42ed941a2a5dc62654
Author:     Amit Shah <amit.shah@redhat.com>
AuthorDate: Wed Oct 22 16:39:47 2008 +0530
Committer:  Avi Kivity <avi@redhat.com>
CommitDate: Wed Dec 31 16:51:47 2008 +0200

    KVM: x86: Fix typo in function name
    
    get_segment_descritptor_dtable() contains an obvious type.
    
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
---
 arch/x86/kvm/x86.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index f175b79..ceeac88 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3373,9 +3373,9 @@ static void seg_desct_to_kvm_desct(struct desc_struct *seg_desc, u16 selector,
 	kvm_desct->padding = 0;
 }
 
-static void get_segment_descritptor_dtable(struct kvm_vcpu *vcpu,
-					   u16 selector,
-					   struct descriptor_table *dtable)
+static void get_segment_descriptor_dtable(struct kvm_vcpu *vcpu,
+					  u16 selector,
+					  struct descriptor_table *dtable)
 {
 	if (selector & 1 << 2) {
 		struct kvm_segment kvm_seg;
@@ -3400,7 +3400,7 @@ static int load_guest_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector,
 	struct descriptor_table dtable;
 	u16 index = selector >> 3;
 
-	get_segment_descritptor_dtable(vcpu, selector, &dtable);
+	get_segment_descriptor_dtable(vcpu, selector, &dtable);
 
 	if (dtable.limit < index * 8 + 7) {
 		kvm_queue_exception_e(vcpu, GP_VECTOR, selector & 0xfffc);
@@ -3419,7 +3419,7 @@ static int save_guest_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector,
 	struct descriptor_table dtable;
 	u16 index = selector >> 3;
 
-	get_segment_descritptor_dtable(vcpu, selector, &dtable);
+	get_segment_descriptor_dtable(vcpu, selector, &dtable);
 
 	if (dtable.limit < ...
Previous thread: KVM: IRQ ACK notifier should be used with in-kernel irqchip by Linux Kernel Mailing List on Friday, January 2, 2009 - 1:59 pm. (1 message)

Next thread: KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor migration by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:00 pm. (1 message)