aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kvm/vtlb.c
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-12-17 21:23:58 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:02:50 -0400
commit22ccb14203d59a8bcf6f3fea76b3594d710569fa (patch)
tree996a3c55514e342f5ed9451719e3620cf266aede /arch/ia64/kvm/vtlb.c
parent989c0f0ed56468a4aa48711cef5acf122a40d1dd (diff)
KVM: ia64: Code cleanup
Remove some unnecessary blank lines to accord with Kernel's coding style. Also remove vcpu_get_itir_on_fault due to no reference to it. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64/kvm/vtlb.c')
-rw-r--r--arch/ia64/kvm/vtlb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/ia64/kvm/vtlb.c b/arch/ia64/kvm/vtlb.c
index 6b6307a3bd55..ac94867f8267 100644
--- a/arch/ia64/kvm/vtlb.c
+++ b/arch/ia64/kvm/vtlb.c
@@ -509,7 +509,6 @@ void thash_purge_all(struct kvm_vcpu *v)
509 local_flush_tlb_all(); 509 local_flush_tlb_all();
510} 510}
511 511
512
513/* 512/*
514 * Lookup the hash table and its collision chain to find an entry 513 * Lookup the hash table and its collision chain to find an entry
515 * covering this address rid:va or the entry. 514 * covering this address rid:va or the entry.
@@ -517,7 +516,6 @@ void thash_purge_all(struct kvm_vcpu *v)
517 * INPUT: 516 * INPUT:
518 * in: TLB format for both VHPT & TLB. 517 * in: TLB format for both VHPT & TLB.
519 */ 518 */
520
521struct thash_data *vtlb_lookup(struct kvm_vcpu *v, u64 va, int is_data) 519struct thash_data *vtlb_lookup(struct kvm_vcpu *v, u64 va, int is_data)
522{ 520{
523 struct thash_data *cch; 521 struct thash_data *cch;
@@ -547,7 +545,6 @@ struct thash_data *vtlb_lookup(struct kvm_vcpu *v, u64 va, int is_data)
547 return NULL; 545 return NULL;
548} 546}
549 547
550
551/* 548/*
552 * Initialize internal control data before service. 549 * Initialize internal control data before service.
553 */ 550 */
@@ -589,7 +586,6 @@ u64 kvm_gpa_to_mpa(u64 gpa)
589 return (pte >> PAGE_SHIFT << PAGE_SHIFT) | (gpa & ~PAGE_MASK); 586 return (pte >> PAGE_SHIFT << PAGE_SHIFT) | (gpa & ~PAGE_MASK);
590} 587}
591 588
592
593/* 589/*
594 * Fetch guest bundle code. 590 * Fetch guest bundle code.
595 * INPUT: 591 * INPUT:
@@ -631,7 +627,6 @@ int fetch_code(struct kvm_vcpu *vcpu, u64 gip, IA64_BUNDLE *pbundle)
631 return IA64_NO_FAULT; 627 return IA64_NO_FAULT;
632} 628}
633 629
634
635void kvm_init_vhpt(struct kvm_vcpu *v) 630void kvm_init_vhpt(struct kvm_vcpu *v)
636{ 631{
637 v->arch.vhpt.num = VHPT_NUM_ENTRIES; 632 v->arch.vhpt.num = VHPT_NUM_ENTRIES;