#ifndef __ASM_OFFSETS_H__
#define __ASM_OFFSETS_H__
/*
 * DO NOT MODIFY.
 *
 * This file was generated by Kbuild
 */

#define THREAD 1568 /* offsetof(struct task_struct, thread) */
#define MM 768 /* offsetof(struct task_struct, mm) */
#define TASK_STACK 88 /* offsetof(struct task_struct, stack) */
#define KSP 0 /* offsetof(struct thread_struct, ksp) */
#define PT_REGS 4 /* offsetof(struct thread_struct, regs) */
#define THREAD_FPEXC_MODE 392 /* offsetof(struct thread_struct, fpexc_mode) */
#define THREAD_FPSTATE 80 /* offsetof(struct thread_struct, fp_state.fpr) */
#define THREAD_FPSAVEAREA 352 /* offsetof(struct thread_struct, fp_save_area) */
#define THREAD_GQRSTATE 356 /* offsetof(struct thread_struct, gqr_state) */
#define THREAD_GQRSAVEAREA 388 /* offsetof(struct thread_struct, gqr_save_area) */
#define FPSTATE_FPSCR 256 /* offsetof(struct thread_fp_state, fpscr) */
#define THREAD_LOAD_FP 429 /* offsetof(struct thread_struct, load_fp) */
#define PGDIR 8 /* offsetof(struct thread_struct, pgdir) */
#define SRR0 12 /* offsetof(struct thread_struct, srr0) */
#define SRR1 16 /* offsetof(struct thread_struct, srr1) */
#define DAR 20 /* offsetof(struct thread_struct, dar) */
#define DSISR 24 /* offsetof(struct thread_struct, dsisr) */
#define THR0 28 /* offsetof(struct thread_struct, r0) */
#define THR3 32 /* offsetof(struct thread_struct, r3) */
#define THR4 36 /* offsetof(struct thread_struct, r4) */
#define THR5 40 /* offsetof(struct thread_struct, r5) */
#define THR6 44 /* offsetof(struct thread_struct, r6) */
#define THR8 48 /* offsetof(struct thread_struct, r8) */
#define THR9 52 /* offsetof(struct thread_struct, r9) */
#define THR11 56 /* offsetof(struct thread_struct, r11) */
#define THLR 60 /* offsetof(struct thread_struct, lr) */
#define THCTR 64 /* offsetof(struct thread_struct, ctr) */
#define THSR0 68 /* offsetof(struct thread_struct, sr0) */
#define THREAD_KVM_SVCPU 432 /* offsetof(struct thread_struct, kvm_shadow_vcpu) */
#define TI_LOCAL_FLAGS 4 /* offsetof(struct thread_info, local_flags) */
#define RTASBASE 4 /* offsetof(struct rtas_t, base) */
#define RTASENTRY 0 /* offsetof(struct rtas_t, entry) */
#define INT_FRAME_SIZE 192 /* STACK_INT_FRAME_SIZE */
#define SWITCH_FRAME_SIZE 192 /* STACK_SWITCH_FRAME_SIZE */
#define GPR0 16 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[0]) */
#define GPR1 20 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[1]) */
#define GPR2 24 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[2]) */
#define GPR3 28 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[3]) */
#define GPR4 32 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[4]) */
#define GPR5 36 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[5]) */
#define GPR6 40 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[6]) */
#define GPR7 44 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[7]) */
#define GPR8 48 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[8]) */
#define GPR9 52 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[9]) */
#define GPR10 56 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[10]) */
#define GPR11 60 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[11]) */
#define GPR12 64 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[12]) */
#define GPR13 68 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[13]) */
#define _NIP 144 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, nip) */
#define _MSR 148 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, msr) */
#define _CTR 156 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, ctr) */
#define _LINK 160 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, link) */
#define _CCR 168 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, ccr) */
#define _XER 164 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, xer) */
#define _DAR 180 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dar) */
#define _DEAR 180 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dear) */
#define _DSISR 184 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dsisr) */
#define _ESR 184 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, esr) */
#define ORIG_GPR3 152 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, orig_gpr3) */
#define RESULT 188 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, result) */
#define _TRAP 176 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, trap) */
#define CPU_SPEC_FEATURES 12 /* offsetof(struct cpu_spec, cpu_features) */
#define CPU_SPEC_SETUP 48 /* offsetof(struct cpu_spec, cpu_setup) */
#define CPU_SPEC_RESTORE 52 /* offsetof(struct cpu_spec, cpu_restore) */
#define pbe_address 0 /* offsetof(struct pbe, address) */
#define pbe_orig_address 4 /* offsetof(struct pbe, orig_address) */
#define pbe_next 8 /* offsetof(struct pbe, next) */
#define TASK_SIZE -1346371584 /* TASK_SIZE */
#define NUM_USER_SEGMENTS 11 /* ALIGN(TASK_SIZE, SZ_256M) >> 28 */
#define CFG_TB_TICKS_PER_SEC 0 /* offsetof(struct vdso_arch_data, tb_ticks_per_sec) */
#define CFG_SYSCALL_MAP32 8 /* offsetof(struct vdso_arch_data, syscall_map) */
#define BUG_ENTRY_SIZE 12 /* sizeof(struct bug_entry) */
#define VCPU_HOST_STACK 512 /* offsetof(struct kvm_vcpu, arch.host_stack) */
#define VCPU_HOST_PID 516 /* offsetof(struct kvm_vcpu, arch.host_pid) */
#define VCPU_GUEST_PID 4664 /* offsetof(struct kvm_vcpu, arch.pid) */
#define VCPU_GPRS 3584 /* offsetof(struct kvm_vcpu, arch.regs.gpr) */
#define VCPU_VRSAVE 4316 /* offsetof(struct kvm_vcpu, arch.vrsave) */
#define VCPU_FPRS 3760 /* offsetof(struct kvm_vcpu, arch.fp.fpr) */
#define VCPU_XER 3732 /* offsetof(struct kvm_vcpu, arch.regs.xer) */
#define VCPU_CTR 3724 /* offsetof(struct kvm_vcpu, arch.regs.ctr) */
#define VCPU_LR 3728 /* offsetof(struct kvm_vcpu, arch.regs.link) */
#define VCPU_TAR 4160 /* offsetof(struct kvm_vcpu, arch.tar) */
#define VCPU_CR 3736 /* offsetof(struct kvm_vcpu, arch.regs.ccr) */
#define VCPU_PC 3712 /* offsetof(struct kvm_vcpu, arch.regs.nip) */
#define VCPU_SHARED_SPRG3 56 /* offsetof(struct kvm_vcpu_arch_shared, sprg3) */
#define VCPU_SHARED_SPRG4 208 /* offsetof(struct kvm_vcpu_arch_shared, sprg4) */
#define VCPU_SHARED_SPRG5 216 /* offsetof(struct kvm_vcpu_arch_shared, sprg5) */
#define VCPU_SHARED_SPRG6 224 /* offsetof(struct kvm_vcpu_arch_shared, sprg6) */
#define VCPU_SHARED_SPRG7 232 /* offsetof(struct kvm_vcpu_arch_shared, sprg7) */
#define VCPU_SHADOW_PID 4656 /* offsetof(struct kvm_vcpu, arch.shadow_pid) */
#define VCPU_SHADOW_PID1 4660 /* offsetof(struct kvm_vcpu, arch.shadow_pid1) */
#define VCPU_SHARED 5088 /* offsetof(struct kvm_vcpu, arch.shared) */
#define VCPU_SHARED_MSR 88 /* offsetof(struct kvm_vcpu_arch_shared, msr) */
#define VCPU_SHADOW_MSR 4324 /* offsetof(struct kvm_vcpu, arch.shadow_msr) */
#define VCPU_SHARED_MAS0 168 /* offsetof(struct kvm_vcpu_arch_shared, mas0) */
#define VCPU_SHARED_MAS1 172 /* offsetof(struct kvm_vcpu_arch_shared, mas1) */
#define VCPU_SHARED_MAS2 184 /* offsetof(struct kvm_vcpu_arch_shared, mas2) */
#define VCPU_SHARED_MAS7_3 176 /* offsetof(struct kvm_vcpu_arch_shared, mas7_3) */
#define VCPU_SHARED_MAS4 192 /* offsetof(struct kvm_vcpu_arch_shared, mas4) */
#define VCPU_SHARED_MAS6 196 /* offsetof(struct kvm_vcpu_arch_shared, mas6) */
#define VCPU_KVM 0 /* offsetof(struct kvm_vcpu, kvm) */
#define KVM_LPID 1240 /* offsetof(struct kvm, arch.lpid) */
#define VCPU_PURR 4172 /* offsetof(struct kvm_vcpu, arch.purr) */
#define VCPU_SPURR 4176 /* offsetof(struct kvm_vcpu, arch.spurr) */
#define VCPU_IC 4180 /* offsetof(struct kvm_vcpu, arch.ic) */
#define VCPU_DSCR 4184 /* offsetof(struct kvm_vcpu, arch.dscr) */
#define VCPU_AMR 4188 /* offsetof(struct kvm_vcpu, arch.amr) */
#define VCPU_UAMOR 4192 /* offsetof(struct kvm_vcpu, arch.uamor) */
#define VCPU_IAMR 4196 /* offsetof(struct kvm_vcpu, arch.iamr) */
#define VCPU_CTRL 4200 /* offsetof(struct kvm_vcpu, arch.ctrl) */
#define VCPU_DABR 4208 /* offsetof(struct kvm_vcpu, arch.dabr) */
#define VCPU_DABRX 4204 /* offsetof(struct kvm_vcpu, arch.dabrx) */
#define VCPU_DAWR0 4212 /* offsetof(struct kvm_vcpu, arch.dawr0) */
#define VCPU_DAWRX0 4216 /* offsetof(struct kvm_vcpu, arch.dawrx0) */
#define VCPU_CIABR 4240 /* offsetof(struct kvm_vcpu, arch.ciabr) */
#define VCPU_HFLAGS 4164 /* offsetof(struct kvm_vcpu, arch.hflags) */
#define VCPU_DEC_EXPIRES 4944 /* offsetof(struct kvm_vcpu, arch.dec_expires) */
#define VCPU_PENDING_EXC 4952 /* offsetof(struct kvm_vcpu, arch.pending_exceptions) */
#define VCPU_CEDED 4956 /* offsetof(struct kvm_vcpu, arch.ceded) */
#define VCPU_PRODDED 4957 /* offsetof(struct kvm_vcpu, arch.prodded) */
#define VCPU_MMCR 4688 /* offsetof(struct kvm_vcpu, arch.mmcr) */
#define VCPU_MMCRA 4720 /* offsetof(struct kvm_vcpu, arch.mmcra) */
#define VCPU_MMCRS 4728 /* offsetof(struct kvm_vcpu, arch.mmcrs) */
#define VCPU_PMC 4736 /* offsetof(struct kvm_vcpu, arch.pmc) */
#define VCPU_SIAR 4776 /* offsetof(struct kvm_vcpu, arch.siar) */
#define VCPU_SDAR 4784 /* offsetof(struct kvm_vcpu, arch.sdar) */
#define VCPU_SIER 4792 /* offsetof(struct kvm_vcpu, arch.sier) */
#define VCPU_SLB 520 /* offsetof(struct kvm_vcpu, arch.slb) */
#define VCPU_SLB_MAX 3080 /* offsetof(struct kvm_vcpu, arch.slb_max) */
#define VCPU_SLB_NR 3084 /* offsetof(struct kvm_vcpu, arch.slb_nr) */
#define VCPU_FAULT_DSISR 4820 /* offsetof(struct kvm_vcpu, arch.fault_dsisr) */
#define VCPU_FAULT_DAR 4816 /* offsetof(struct kvm_vcpu, arch.fault_dar) */
#define VCPU_INTR_MSR 4824 /* offsetof(struct kvm_vcpu, arch.intr_msr) */
#define VCPU_LAST_INST 4960 /* offsetof(struct kvm_vcpu, arch.last_inst) */
#define VCPU_TRAP 4980 /* offsetof(struct kvm_vcpu, arch.trap) */
#define VCPU_CFAR 4244 /* offsetof(struct kvm_vcpu, arch.cfar) */
#define VCPU_PPR 4248 /* offsetof(struct kvm_vcpu, arch.ppr) */
#define VCPU_FSCR 4260 /* offsetof(struct kvm_vcpu, arch.fscr) */
#define VCPU_PSPB 4252 /* offsetof(struct kvm_vcpu, arch.pspb) */
#define VCPU_EBBHR 4268 /* offsetof(struct kvm_vcpu, arch.ebbhr) */
#define VCPU_EBBRR 4272 /* offsetof(struct kvm_vcpu, arch.ebbrr) */
#define VCPU_BESCR 4276 /* offsetof(struct kvm_vcpu, arch.bescr) */
#define VCPU_CSIGR 4280 /* offsetof(struct kvm_vcpu, arch.csigr) */
#define VCPU_TACR 4284 /* offsetof(struct kvm_vcpu, arch.tacr) */
#define VCPU_TCSCR 4288 /* offsetof(struct kvm_vcpu, arch.tcscr) */
#define VCPU_ACOP 4292 /* offsetof(struct kvm_vcpu, arch.acop) */
#define VCPU_WORT 4296 /* offsetof(struct kvm_vcpu, arch.wort) */
#define VCPU_HFSCR 4308 /* offsetof(struct kvm_vcpu, arch.hfscr) */
#define VCORE_ENTRY_EXIT 8 /* offsetof(struct kvmppc_vcore, entry_exit_map) */
#define VCORE_IN_GUEST 25 /* offsetof(struct kvmppc_vcore, in_guest) */
#define VCORE_NAPPING_THREADS 12 /* offsetof(struct kvmppc_vcore, napping_threads) */
#define VCORE_KVM 92 /* offsetof(struct kvmppc_vcore, kvm) */
#define VCORE_TB_OFFSET 96 /* offsetof(struct kvmppc_vcore, tb_offset) */
#define VCORE_TB_OFFSET_APPL 104 /* offsetof(struct kvmppc_vcore, tb_offset_applied) */
#define VCORE_LPCR 112 /* offsetof(struct kvmppc_vcore, lpcr) */
#define VCORE_PCR 120 /* offsetof(struct kvmppc_vcore, pcr) */
#define VCORE_DPDES 124 /* offsetof(struct kvmppc_vcore, dpdes) */
#define VCORE_VTB 128 /* offsetof(struct kvmppc_vcore, vtb) */
#define VCPU_SLB_E 16 /* offsetof(struct kvmppc_slb, orige) */
#define VCPU_SLB_V 24 /* offsetof(struct kvmppc_slb, origv) */
#define VCPU_SLB_SIZE 40 /* sizeof(struct kvmppc_slb) */
#define SVCPU_CR 60 /* offsetof(struct kvmppc_book3s_shadow_vcpu, cr) */
#define SVCPU_XER 64 /* offsetof(struct kvmppc_book3s_shadow_vcpu, xer) */
#define SVCPU_CTR 68 /* offsetof(struct kvmppc_book3s_shadow_vcpu, ctr) */
#define SVCPU_LR 72 /* offsetof(struct kvmppc_book3s_shadow_vcpu, lr) */
#define SVCPU_PC 76 /* offsetof(struct kvmppc_book3s_shadow_vcpu, pc) */
#define SVCPU_R0 4 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[0]) */
#define SVCPU_R1 8 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[1]) */
#define SVCPU_R2 12 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[2]) */
#define SVCPU_R3 16 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[3]) */
#define SVCPU_R4 20 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[4]) */
#define SVCPU_R5 24 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[5]) */
#define SVCPU_R6 28 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[6]) */
#define SVCPU_R7 32 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[7]) */
#define SVCPU_R8 36 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[8]) */
#define SVCPU_R9 40 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[9]) */
#define SVCPU_R10 44 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[10]) */
#define SVCPU_R11 48 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[11]) */
#define SVCPU_R12 52 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[12]) */
#define SVCPU_R13 56 /* offsetof(struct kvmppc_book3s_shadow_vcpu, gpr[13]) */
#define SVCPU_FAULT_DSISR 88 /* offsetof(struct kvmppc_book3s_shadow_vcpu, fault_dsisr) */
#define SVCPU_FAULT_DAR 84 /* offsetof(struct kvmppc_book3s_shadow_vcpu, fault_dar) */
#define SVCPU_LAST_INST 92 /* offsetof(struct kvmppc_book3s_shadow_vcpu, last_inst) */
#define SVCPU_SHADOW_SRR1 80 /* offsetof(struct kvmppc_book3s_shadow_vcpu, shadow_srr1) */
#define SVCPU_SR 96 /* offsetof(struct kvmppc_book3s_shadow_vcpu, sr) */
#define HSTATE_HOST_R1 160 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.host_r1) */
#define HSTATE_HOST_R2 164 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.host_r2) */
#define HSTATE_HOST_MSR 168 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.host_msr) */
#define HSTATE_VMHANDLER 172 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.vmhandler) */
#define HSTATE_SCRATCH0 176 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.scratch0) */
#define HSTATE_SCRATCH1 180 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.scratch1) */
#define HSTATE_SCRATCH2 184 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.scratch2) */
#define HSTATE_IN_GUEST 188 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.in_guest) */
#define HSTATE_RESTORE_HID5 189 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.restore_hid5) */
#define HSTATE_NAPPING 190 /* offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.napping) */
#define PPC_DBELL_SERVER 5 /* PPC_DBELL_SERVER */

#endif
