diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-11-05 10:36:12 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:51:50 -0500 |
commit | 0f55dc481ea5c4f87fc0161cb1b8c6e2cafae8fc (patch) | |
tree | 18b5bb0ad449607690329c6c23083886cb39a9bc /arch/powerpc/include/asm/kvm_host.h | |
parent | a0d7b9f246074fab1f42678d203ef4ba281505f2 (diff) |
KVM: ppc: Rename "struct tlbe" to "struct kvmppc_44x_tlbe"
This will ease ports to other cores.
Also remove unused "struct kvm_tlb" while we're at it.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 34b52b7180cd..df733511d671 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
@@ -64,7 +64,7 @@ struct kvm_vcpu_stat { | |||
64 | u32 halt_wakeup; | 64 | u32 halt_wakeup; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | struct tlbe { | 67 | struct kvmppc_44x_tlbe { |
68 | u32 tid; /* Only the low 8 bits are used. */ | 68 | u32 tid; /* Only the low 8 bits are used. */ |
69 | u32 word0; | 69 | u32 word0; |
70 | u32 word1; | 70 | u32 word1; |
@@ -76,9 +76,9 @@ struct kvm_arch { | |||
76 | 76 | ||
77 | struct kvm_vcpu_arch { | 77 | struct kvm_vcpu_arch { |
78 | /* Unmodified copy of the guest's TLB. */ | 78 | /* Unmodified copy of the guest's TLB. */ |
79 | struct tlbe guest_tlb[PPC44x_TLB_SIZE]; | 79 | struct kvmppc_44x_tlbe guest_tlb[PPC44x_TLB_SIZE]; |
80 | /* TLB that's actually used when the guest is running. */ | 80 | /* TLB that's actually used when the guest is running. */ |
81 | struct tlbe shadow_tlb[PPC44x_TLB_SIZE]; | 81 | struct kvmppc_44x_tlbe shadow_tlb[PPC44x_TLB_SIZE]; |
82 | /* Pages which are referenced in the shadow TLB. */ | 82 | /* Pages which are referenced in the shadow TLB. */ |
83 | struct page *shadow_pages[PPC44x_TLB_SIZE]; | 83 | struct page *shadow_pages[PPC44x_TLB_SIZE]; |
84 | 84 | ||