diff options
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index fd7513f8014b..5fda4ef489ad 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -519,6 +519,7 @@ int main(void) | |||
519 | DEFINE(VCPU_TRAP, offsetof(struct kvm_vcpu, arch.trap)); | 519 | DEFINE(VCPU_TRAP, offsetof(struct kvm_vcpu, arch.trap)); |
520 | DEFINE(VCPU_PTID, offsetof(struct kvm_vcpu, arch.ptid)); | 520 | DEFINE(VCPU_PTID, offsetof(struct kvm_vcpu, arch.ptid)); |
521 | DEFINE(VCPU_CFAR, offsetof(struct kvm_vcpu, arch.cfar)); | 521 | DEFINE(VCPU_CFAR, offsetof(struct kvm_vcpu, arch.cfar)); |
522 | DEFINE(VCPU_PPR, offsetof(struct kvm_vcpu, arch.ppr)); | ||
522 | DEFINE(VCORE_ENTRY_EXIT, offsetof(struct kvmppc_vcore, entry_exit_count)); | 523 | DEFINE(VCORE_ENTRY_EXIT, offsetof(struct kvmppc_vcore, entry_exit_count)); |
523 | DEFINE(VCORE_NAP_COUNT, offsetof(struct kvmppc_vcore, nap_count)); | 524 | DEFINE(VCORE_NAP_COUNT, offsetof(struct kvmppc_vcore, nap_count)); |
524 | DEFINE(VCORE_IN_GUEST, offsetof(struct kvmppc_vcore, in_guest)); | 525 | DEFINE(VCORE_IN_GUEST, offsetof(struct kvmppc_vcore, in_guest)); |
@@ -604,6 +605,7 @@ int main(void) | |||
604 | 605 | ||
605 | #ifdef CONFIG_PPC_BOOK3S_64 | 606 | #ifdef CONFIG_PPC_BOOK3S_64 |
606 | HSTATE_FIELD(HSTATE_CFAR, cfar); | 607 | HSTATE_FIELD(HSTATE_CFAR, cfar); |
608 | HSTATE_FIELD(HSTATE_PPR, ppr); | ||
607 | #endif /* CONFIG_PPC_BOOK3S_64 */ | 609 | #endif /* CONFIG_PPC_BOOK3S_64 */ |
608 | 610 | ||
609 | #else /* CONFIG_PPC_BOOK3S */ | 611 | #else /* CONFIG_PPC_BOOK3S */ |