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

#define THREAD 1536 /* offsetof(struct task_struct, thread) */
#define MM 732 /* offsetof(struct task_struct, mm) */
#define TASK_CANARY 856 /* offsetof(struct task_struct, stack_canary) */
#define TASK_STACK 132 /* offsetof(struct task_struct, stack) */
#define TASK_CPU 160 /* offsetof(struct task_struct, cpu) */
#define KSP 0 /* offsetof(struct thread_struct, ksp) */
#define PT_REGS 4 /* offsetof(struct thread_struct, regs) */
#define THREAD_NORMSAVES 32 /* offsetof(struct thread_struct, normsave[0]) */
#define FPSTATE_FPSCR 256 /* offsetof(struct thread_fp_state, fpscr) */
#define THREAD_LOAD_FP 153 /* offsetof(struct thread_struct, load_fp) */
#define PGDIR 64 /* offsetof(struct thread_struct, pgdir) */
#define SRR0 68 /* offsetof(struct thread_struct, srr0) */
#define SRR1 72 /* offsetof(struct thread_struct, srr1) */
#define DAR 76 /* offsetof(struct thread_struct, dar) */
#define DSISR 80 /* offsetof(struct thread_struct, dsisr) */
#define THREAD_EVR0 156 /* offsetof(struct thread_struct, evr[0]) */
#define THREAD_ACC 288 /* offsetof(struct thread_struct, acc) */
#define THREAD_USED_SPE 304 /* offsetof(struct thread_struct, used_spe) */
#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 240 /* STACK_INT_FRAME_SIZE */
#define SWITCH_FRAME_SIZE 240 /* STACK_FRAME_WITH_PT_REGS */
#define GPR0 16 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[0]) */
#define GPR1 20 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[1]) */
#define GPR2 24 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[2]) */
#define GPR3 28 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[3]) */
#define GPR4 32 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[4]) */
#define GPR5 36 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[5]) */
#define GPR6 40 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[6]) */
#define GPR7 44 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[7]) */
#define GPR8 48 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[8]) */
#define GPR9 52 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[9]) */
#define GPR10 56 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[10]) */
#define GPR11 60 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[11]) */
#define GPR12 64 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[12]) */
#define GPR13 68 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, gpr[13]) */
#define _NIP 144 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, nip) */
#define _MSR 148 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, msr) */
#define _CTR 156 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, ctr) */
#define _LINK 160 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, link) */
#define _CCR 168 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, ccr) */
#define _XER 164 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, xer) */
#define _DAR 180 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, dar) */
#define _DEAR 180 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, dear) */
#define _DSISR 184 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, dsisr) */
#define _ESR 184 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, esr) */
#define ORIG_GPR3 152 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, orig_gpr3) */
#define RESULT 188 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, result) */
#define _TRAP 176 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, trap) */
#define MAS0 192 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas0) */
#define MMUCR 192 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas0) */
#define MAS1 196 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas1) */
#define MAS2 200 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas2) */
#define MAS3 204 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas3) */
#define MAS6 208 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas6) */
#define MAS7 212 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, mas7) */
#define _SRR0 216 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, srr0) */
#define _SRR1 220 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, srr1) */
#define _CSRR0 224 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, csrr0) */
#define _CSRR1 228 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, csrr1) */
#define _DSRR0 232 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, dsrr0) */
#define _DSRR1 236 /* STACK_FRAME_OVERHEAD + offsetof(struct pt_regs, dsrr1) */
#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 -1073741824 /* TASK_SIZE */
#define NUM_USER_SEGMENTS 12 /* TASK_SIZE>>28 */
#define VDSO_DATA_OFFSET 72 /* offsetof(struct vdso_arch_data, data) */
#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 TLBCAM_SIZE 20 /* sizeof(struct tlbcam) */
#define TLBCAM_MAS0 0 /* offsetof(struct tlbcam, MAS0) */
#define TLBCAM_MAS1 4 /* offsetof(struct tlbcam, MAS1) */
#define TLBCAM_MAS2 8 /* offsetof(struct tlbcam, MAS2) */
#define TLBCAM_MAS3 12 /* offsetof(struct tlbcam, MAS3) */
#define TLBCAM_MAS7 16 /* offsetof(struct tlbcam, MAS7) */
#define PPC_DBELL_SERVER 5 /* PPC_DBELL_SERVER */

#endif
