aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
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 95ba8095fc4a..29796559c2fb 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -533,7 +533,7 @@ int main(void)
533 DEFINE(VCPU_SLB_SIZE, sizeof(struct kvmppc_slb)); 533 DEFINE(VCPU_SLB_SIZE, sizeof(struct kvmppc_slb));
534 534
535#ifdef CONFIG_PPC_BOOK3S_64 535#ifdef CONFIG_PPC_BOOK3S_64
536#ifdef CONFIG_KVM_BOOK3S_PR 536#ifdef CONFIG_KVM_BOOK3S_PR_POSSIBLE
537 DEFINE(PACA_SVCPU, offsetof(struct paca_struct, shadow_vcpu)); 537 DEFINE(PACA_SVCPU, offsetof(struct paca_struct, shadow_vcpu));
538# define SVCPU_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, shadow_vcpu.f)) 538# define SVCPU_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, shadow_vcpu.f))
539#else 539#else