]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/asm-offsets.c
KVM: PPC: Book3S HV: Store LPCR value for each virtual core
[~andy/linux] / arch / powerpc / kernel / asm-offsets.c
index 34d63d871917824d58d5d1c0f8aaa1d89e685250..fd7513f8014bfccdad8dd9ad885e3acf1fddf0b7 100644 (file)
@@ -524,6 +524,7 @@ int main(void)
        DEFINE(VCORE_IN_GUEST, offsetof(struct kvmppc_vcore, in_guest));
        DEFINE(VCORE_NAPPING_THREADS, offsetof(struct kvmppc_vcore, napping_threads));
        DEFINE(VCORE_TB_OFFSET, offsetof(struct kvmppc_vcore, tb_offset));
+       DEFINE(VCORE_LPCR, offsetof(struct kvmppc_vcore, lpcr));
        DEFINE(VCPU_SVCPU, offsetof(struct kvmppc_vcpu_book3s, shadow_vcpu) -
                           offsetof(struct kvmppc_vcpu_book3s, vcpu));
        DEFINE(VCPU_SLB_E, offsetof(struct kvmppc_slb, orige));