]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/asm-offsets.c
KVM: PPC: Book3S HV: Support POWER6 compatibility mode on POWER7
[~andy/linux] / arch / powerpc / kernel / asm-offsets.c
index 5fda4ef489ad746885d236931c6a3d8277b8715d..5a285efba1744ce97b6ee8c38bbc770c064e4df2 100644 (file)
@@ -526,6 +526,7 @@ int main(void)
        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(VCORE_PCR, offsetof(struct kvmppc_vcore, pcr));
        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));