aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-07-30 06:08:05 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:21 -0400
commit0e5017d4ae981b0311a3ec1ca04806a4ae7d7446 (patch)
tree1181fb12dbfed7456ff007c77cdcc69ba948d2ce /drivers/kvm/svm.c
parente756fc626d7d8a220864dd6bc6634d9d933650b0 (diff)
KVM: SVM: internal function name cleanup
Changes some svm.c internal function names: 1) io_adress -> io_address (de-germanify the spelling) 2) kvm_reput_irq -> reput_irq (it's not a generic kvm function) 3) kvm_do_inject_irq -> (it's not a generic kvm function) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index 504fb50662d9..cd966739970f 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -1060,7 +1060,7 @@ static int io_get_override(struct vcpu_svm *svm,
1060 return 0; 1060 return 0;
1061} 1061}
1062 1062
1063static unsigned long io_adress(struct vcpu_svm *svm, int ins, gva_t *address) 1063static unsigned long io_address(struct vcpu_svm *svm, int ins, gva_t *address)
1064{ 1064{
1065 unsigned long addr_mask; 1065 unsigned long addr_mask;
1066 unsigned long *reg; 1066 unsigned long *reg;
@@ -1124,7 +1124,7 @@ static int io_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run)
1124 if (string) { 1124 if (string) {
1125 unsigned addr_mask; 1125 unsigned addr_mask;
1126 1126
1127 addr_mask = io_adress(svm, in, &address); 1127 addr_mask = io_address(svm, in, &address);
1128 if (!addr_mask) { 1128 if (!addr_mask) {
1129 printk(KERN_DEBUG "%s: get io address failed\n", 1129 printk(KERN_DEBUG "%s: get io address failed\n",
1130 __FUNCTION__); 1130 __FUNCTION__);
@@ -1419,7 +1419,7 @@ static void pre_svm_run(struct vcpu_svm *svm)
1419} 1419}
1420 1420
1421 1421
1422static inline void kvm_do_inject_irq(struct vcpu_svm *svm) 1422static inline void inject_irq(struct vcpu_svm *svm)
1423{ 1423{
1424 struct vmcb_control_area *control; 1424 struct vmcb_control_area *control;
1425 1425
@@ -1430,7 +1430,7 @@ static inline void kvm_do_inject_irq(struct vcpu_svm *svm)
1430 ((/*control->int_vector >> 4*/ 0xf) << V_INTR_PRIO_SHIFT); 1430 ((/*control->int_vector >> 4*/ 0xf) << V_INTR_PRIO_SHIFT);
1431} 1431}
1432 1432
1433static void kvm_reput_irq(struct vcpu_svm *svm) 1433static void reput_irq(struct vcpu_svm *svm)
1434{ 1434{
1435 struct vmcb_control_area *control = &svm->vmcb->control; 1435 struct vmcb_control_area *control = &svm->vmcb->control;
1436 1436
@@ -1456,7 +1456,7 @@ static void do_interrupt_requests(struct vcpu_svm *svm,
1456 /* 1456 /*
1457 * If interrupts enabled, and not blocked by sti or mov ss. Good. 1457 * If interrupts enabled, and not blocked by sti or mov ss. Good.
1458 */ 1458 */
1459 kvm_do_inject_irq(svm); 1459 inject_irq(svm);
1460 1460
1461 /* 1461 /*
1462 * Interrupts blocked. Wait for unblock. 1462 * Interrupts blocked. Wait for unblock.
@@ -1698,7 +1698,7 @@ again:
1698 1698
1699 stgi(); 1699 stgi();
1700 1700
1701 kvm_reput_irq(svm); 1701 reput_irq(svm);
1702 1702
1703 svm->next_rip = 0; 1703 svm->next_rip = 0;
1704 1704