summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorHollis Blanchard2008-11-05 16:36:12 +0100
committerAvi Kivity2008-12-31 15:51:50 +0100
commit0f55dc481ea5c4f87fc0161cb1b8c6e2cafae8fc (patch)
tree18b5bb0ad449607690329c6c23083886cb39a9bc /arch/powerpc/kernel/asm-offsets.c
parentKVM: ppc: Move 440-specific TLB code into 44x_tlb.c (diff)
downloadkernel-qcow2-linux-0f55dc481ea5c4f87fc0161cb1b8c6e2cafae8fc.tar.gz
kernel-qcow2-linux-0f55dc481ea5c4f87fc0161cb1b8c6e2cafae8fc.tar.xz
kernel-qcow2-linux-0f55dc481ea5c4f87fc0161cb1b8c6e2cafae8fc.zip
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/kernel/asm-offsets.c')
-rw-r--r--arch/powerpc/kernel/asm-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 661d07d2146b..0264c97e02b5 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -357,7 +357,7 @@ int main(void)
DEFINE(PTE_SIZE, sizeof(pte_t));
#ifdef CONFIG_KVM
- DEFINE(TLBE_BYTES, sizeof(struct tlbe));
+ DEFINE(TLBE_BYTES, sizeof(struct kvmppc_44x_tlbe));
DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack));
DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid));