KVM: PPC: Book3S HV: Implement timebase offset for guests
[linux-block.git] / arch / powerpc / kernel / asm-offsets.c
index 19e699d747b79345b7fb81cd721530a8ee5038eb..34d63d871917824d58d5d1c0f8aaa1d89e685250 100644 (file)
@@ -523,6 +523,7 @@ int main(void)
        DEFINE(VCORE_NAP_COUNT, offsetof(struct kvmppc_vcore, nap_count));
        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(VCPU_SVCPU, offsetof(struct kvmppc_vcpu_book3s, shadow_vcpu) -
                           offsetof(struct kvmppc_vcpu_book3s, vcpu));
        DEFINE(VCPU_SLB_E, offsetof(struct kvmppc_slb, orige));