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

#define THREAD 1056 /* offsetof(struct task_struct, thread) */
#define MM 444 /* offsetof(struct task_struct, mm) */
#define MMCONTEXTID 412 /* offsetof(struct mm_struct, context.id) */
#define THREAD_INFO 4 /* offsetof(struct task_struct, stack) */
#define THREAD_INFO_GAP 64 /* _ALIGN_UP(sizeof(struct thread_info), 16) */
#define KSP_LIMIT 68 /* offsetof(struct thread_struct, ksp_limit) */
#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 THREAD_FPEXC_MODE 388 /* offsetof(struct thread_struct, fpexc_mode) */
#define THREAD_FPSTATE 112 /* offsetof(struct thread_struct, fp_state) */
#define THREAD_FPSAVEAREA 384 /* offsetof(struct thread_struct, fp_save_area) */
#define FPSTATE_FPSCR 256 /* offsetof(struct thread_fp_state, fpscr) */
#define THREAD_LOAD_FP 408 /* offsetof(struct thread_struct, load_fp) */
#define PGDIR 64 /* offsetof(struct thread_struct, pgdir) */
#define THREAD_EVR0 412 /* offsetof(struct thread_struct, evr[0]) */
#define THREAD_ACC 544 /* offsetof(struct thread_struct, acc) */
#define THREAD_SPEFSCR 552 /* offsetof(struct thread_struct, spefscr) */
#define THREAD_USED_SPE 560 /* offsetof(struct thread_struct, used_spe) */
#define THREAD_DBCR0 72 /* offsetof(struct thread_struct, debug.dbcr0) */
#define TI_FLAGS 32 /* offsetof(struct thread_info, flags) */
#define TI_LOCAL_FLAGS 12 /* offsetof(struct thread_info, local_flags) */
#define TI_PREEMPT 8 /* offsetof(struct thread_info, preempt_count) */
#define TI_TASK 0 /* offsetof(struct thread_info, task) */
#define TI_CPU 4 /* offsetof(struct thread_info, cpu) */
#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_FRAME_OVERHEAD + sizeof(struct 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 GPR14 72 /* STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[14]) */
#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 _DSISR 184 /* STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dsisr) */
#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 _DEAR 180 /* STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dar) */
#define _ESR 184 /* STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dsisr) */
#define EXC_LVL_SIZE 64 /* STACK_EXC_LVL_FRAME_SIZE */
#define MAS0 192 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0) */
#define MMUCR 192 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0) */
#define MAS1 196 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1) */
#define MAS2 200 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas2) */
#define MAS3 204 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas3) */
#define MAS6 208 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas6) */
#define MAS7 212 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas7) */
#define _SRR0 216 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr0) */
#define _SRR1 220 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr1) */
#define _CSRR0 224 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, csrr0) */
#define _CSRR1 228 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, csrr1) */
#define _DSRR0 232 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, dsrr0) */
#define _DSRR1 236 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, dsrr1) */
#define SAVED_KSP_LIMIT 240 /* STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, saved_ksp_limit) */
#define MM_PGD 36 /* offsetof(struct mm_struct, pgd) */
#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 CFG_TB_ORIG_STAMP 0 /* offsetof(struct vdso_data, tb_orig_stamp) */
#define CFG_TB_TICKS_PER_SEC 8 /* offsetof(struct vdso_data, tb_ticks_per_sec) */
#define CFG_TB_TO_XS 16 /* offsetof(struct vdso_data, tb_to_xs) */
#define CFG_TB_UPDATE_COUNT 32 /* offsetof(struct vdso_data, tb_update_count) */
#define CFG_TZ_MINUTEWEST 36 /* offsetof(struct vdso_data, tz_minuteswest) */
#define CFG_TZ_DSTTIME 40 /* offsetof(struct vdso_data, tz_dsttime) */
#define CFG_SYSCALL_MAP32 64 /* offsetof(struct vdso_data, syscall_map_32) */
#define WTOM_CLOCK_SEC 44 /* offsetof(struct vdso_data, wtom_clock_sec) */
#define WTOM_CLOCK_NSEC 48 /* offsetof(struct vdso_data, wtom_clock_nsec) */
#define STAMP_XTIME 52 /* offsetof(struct vdso_data, stamp_xtime) */
#define STAMP_SEC_FRAC 60 /* offsetof(struct vdso_data, stamp_sec_fraction) */
#define CFG_ICACHE_BLOCKSZ 116 /* offsetof(struct vdso_data, icache_block_size) */
#define CFG_DCACHE_BLOCKSZ 112 /* offsetof(struct vdso_data, dcache_block_size) */
#define CFG_ICACHE_LOGBLOCKSZ 124 /* offsetof(struct vdso_data, icache_log_block_size) */
#define CFG_DCACHE_LOGBLOCKSZ 120 /* offsetof(struct vdso_data, dcache_log_block_size) */
#define TVAL32_TV_SEC 0 /* offsetof(struct timeval, tv_sec) */
#define TVAL32_TV_USEC 4 /* offsetof(struct timeval, tv_usec) */
#define TSPC32_TV_SEC 0 /* offsetof(struct timespec, tv_sec) */
#define TSPC32_TV_NSEC 4 /* offsetof(struct timespec, tv_nsec) */
#define TZONE_TZ_MINWEST 0 /* offsetof(struct timezone, tz_minuteswest) */
#define TZONE_TZ_DSTTIME 4 /* offsetof(struct timezone, tz_dsttime) */
#define CLOCK_REALTIME 0 /* CLOCK_REALTIME */
#define CLOCK_MONOTONIC 1 /* CLOCK_MONOTONIC */
#define NSEC_PER_SEC 1000000000 /* NSEC_PER_SEC */
#define CLOCK_REALTIME_RES 1 /* MONOTONIC_RES_NSEC */
#define BUG_ENTRY_SIZE 12 /* sizeof(struct bug_entry) */
#define PGD_TABLE_SIZE 4096 /* PGD_TABLE_SIZE */
#define PTE_SIZE 4 /* sizeof(pte_t) */
#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
