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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 502e038f8c8a..694af3ebb0e4 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -450,6 +450,7 @@ int main(void)
450 DEFINE(KVM_VRMA_SLB_V, offsetof(struct kvm, arch.vrma_slb_v)); 450 DEFINE(KVM_VRMA_SLB_V, offsetof(struct kvm, arch.vrma_slb_v));
451 DEFINE(VCPU_DSISR, offsetof(struct kvm_vcpu, arch.shregs.dsisr)); 451 DEFINE(VCPU_DSISR, offsetof(struct kvm_vcpu, arch.shregs.dsisr));
452 DEFINE(VCPU_DAR, offsetof(struct kvm_vcpu, arch.shregs.dar)); 452 DEFINE(VCPU_DAR, offsetof(struct kvm_vcpu, arch.shregs.dar));
453 DEFINE(VCPU_VPA, offsetof(struct kvm_vcpu, arch.vpa.pinned_addr));
453#endif 454#endif
454#ifdef CONFIG_PPC_BOOK3S 455#ifdef CONFIG_PPC_BOOK3S
455 DEFINE(VCPU_VCPUID, offsetof(struct kvm_vcpu, vcpu_id)); 456 DEFINE(VCPU_VCPUID, offsetof(struct kvm_vcpu, vcpu_id));
@@ -466,7 +467,6 @@ int main(void)
466 DEFINE(VCPU_PENDING_EXC, offsetof(struct kvm_vcpu, arch.pending_exceptions)); 467 DEFINE(VCPU_PENDING_EXC, offsetof(struct kvm_vcpu, arch.pending_exceptions));
467 DEFINE(VCPU_CEDED, offsetof(struct kvm_vcpu, arch.ceded)); 468 DEFINE(VCPU_CEDED, offsetof(struct kvm_vcpu, arch.ceded));
468 DEFINE(VCPU_PRODDED, offsetof(struct kvm_vcpu, arch.prodded)); 469 DEFINE(VCPU_PRODDED, offsetof(struct kvm_vcpu, arch.prodded));
469 DEFINE(VCPU_VPA, offsetof(struct kvm_vcpu, arch.vpa.pinned_addr));
470 DEFINE(VCPU_MMCR, offsetof(struct kvm_vcpu, arch.mmcr)); 470 DEFINE(VCPU_MMCR, offsetof(struct kvm_vcpu, arch.mmcr));
471 DEFINE(VCPU_PMC, offsetof(struct kvm_vcpu, arch.pmc)); 471 DEFINE(VCPU_PMC, offsetof(struct kvm_vcpu, arch.pmc));
472 DEFINE(VCPU_SLB, offsetof(struct kvm_vcpu, arch.slb)); 472 DEFINE(VCPU_SLB, offsetof(struct kvm_vcpu, arch.slb));
@@ -540,10 +540,10 @@ int main(void)
540 HSTATE_FIELD(HSTATE_IN_GUEST, in_guest); 540 HSTATE_FIELD(HSTATE_IN_GUEST, in_guest);
541 HSTATE_FIELD(HSTATE_RESTORE_HID5, restore_hid5); 541 HSTATE_FIELD(HSTATE_RESTORE_HID5, restore_hid5);
542 HSTATE_FIELD(HSTATE_NAPPING, napping); 542 HSTATE_FIELD(HSTATE_NAPPING, napping);
543 HSTATE_FIELD(HSTATE_HWTHREAD_REQ, hwthread_req);
544 HSTATE_FIELD(HSTATE_HWTHREAD_STATE, hwthread_state);
545 543
546#ifdef CONFIG_KVM_BOOK3S_64_HV 544#ifdef CONFIG_KVM_BOOK3S_64_HV
545 HSTATE_FIELD(HSTATE_HWTHREAD_REQ, hwthread_req);
546 HSTATE_FIELD(HSTATE_HWTHREAD_STATE, hwthread_state);
547 HSTATE_FIELD(HSTATE_KVM_VCPU, kvm_vcpu); 547 HSTATE_FIELD(HSTATE_KVM_VCPU, kvm_vcpu);
548 HSTATE_FIELD(HSTATE_KVM_VCORE, kvm_vcore); 548 HSTATE_FIELD(HSTATE_KVM_VCORE, kvm_vcore);
549 HSTATE_FIELD(HSTATE_XICS_PHYS, xics_phys); 549 HSTATE_FIELD(HSTATE_XICS_PHYS, xics_phys);