summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-01-11 19:15:02 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-01-11 19:16:04 +1100
commit14e7b396bcfb920a0cfab5d2132fe5e893a05c12 (patch)
treed7770048691929085021eb03b2e4db46fa5948ee
parent4cad18a96c58269b06fc22f9414f04c06b8336b8 (diff)
kvm: another PPC fixup (asm-offsets)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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 be90ced98b22..16dab65c54f8 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -437,11 +437,11 @@ int main(void)
DEFINE(VCPU_HIGHMEM_HANDLER, offsetof(struct kvm_vcpu, arch.highmem_handler));
DEFINE(VCPU_RMCALL, offsetof(struct kvm_vcpu, arch.rmcall));
DEFINE(VCPU_HFLAGS, offsetof(struct kvm_vcpu, arch.hflags));
- DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));
#else
DEFINE(VCPU_CR, offsetof(struct kvm_vcpu, arch.cr));
DEFINE(VCPU_XER, offsetof(struct kvm_vcpu, arch.xer));
#endif /* CONFIG_PPC64 */
+ DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));
#endif
#ifdef CONFIG_44x
DEFINE(PGD_T_LOG2, PGD_T_LOG2);