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

#define THREAD 2304 /* offsetof(struct task_struct, thread) */
#define MM 1152 /* offsetof(struct task_struct, mm) */
#define TASK_CANARY 1288 /* offsetof(struct task_struct, stack_canary) */
#define PACA_CANARY 1776 /* offsetof(struct paca_struct, canary) */
#define TASK_STACK 200 /* offsetof(struct task_struct, stack) */
#define TASK_CPU 4 /* offsetof(struct task_struct, thread_info.cpu) */
#define KSP 0 /* offsetof(struct thread_struct, ksp) */
#define PT_REGS 16 /* offsetof(struct thread_struct, regs) */
#define THREAD_NORMSAVES 64 /* offsetof(struct thread_struct, normsave[0]) */
#define THREAD_FPEXC_MODE 472 /* offsetof(struct thread_struct, fpexc_mode) */
#define THREAD_FPSTATE 192 /* offsetof(struct thread_struct, fp_state.fpr) */
#define THREAD_FPSAVEAREA 464 /* offsetof(struct thread_struct, fp_save_area) */
#define FPSTATE_FPSCR 256 /* offsetof(struct thread_fp_state, fpscr) */
#define THREAD_LOAD_FP 521 /* offsetof(struct thread_struct, load_fp) */
#define THREAD_VRSTATE 528 /* offsetof(struct thread_struct, vr_state.vr) */
#define THREAD_VRSAVEAREA 1056 /* offsetof(struct thread_struct, vr_save_area) */
#define THREAD_USED_VR 1072 /* offsetof(struct thread_struct, used_vr) */
#define VRSTATE_VSCR 512 /* offsetof(struct thread_vr_state, vscr) */
#define THREAD_LOAD_VEC 522 /* offsetof(struct thread_struct, load_vec) */
#define KSP_VSID 8 /* offsetof(struct thread_struct, ksp_vsid) */
#define TI_LOCAL_FLAGS 8 /* offsetof(struct thread_info, local_flags) */
#define DCACHEL1BLOCKSIZE 8 /* offsetof(struct ppc64_caches, l1d.block_size) */
#define DCACHEL1LOGBLOCKSIZE 12 /* offsetof(struct ppc64_caches, l1d.log_block_size) */
#define PACAPACAINDEX 2 /* offsetof(struct paca_struct, paca_index) */
#define PACAPROCSTART 50 /* offsetof(struct paca_struct, cpu_start) */
#define PACAKSAVE 1632 /* offsetof(struct paca_struct, kstack) */
#define PACACURRENT 1624 /* offsetof(struct paca_struct, __current) */
#define PACA_THREAD_INFO 1624 /* offsetof(struct paca_struct, __current) + offsetof(struct task_struct, thread_info) */
#define PACASAVEDMSR 1648 /* offsetof(struct paca_struct, saved_msr) */
#define PACAR1 1640 /* offsetof(struct paca_struct, saved_r1) */
#define PACATOC 8 /* offsetof(struct paca_struct, kernel_toc) */
#define PACAKBASE 16 /* offsetof(struct paca_struct, kernelbase) */
#define PACAKMSR 24 /* offsetof(struct paca_struct, kernel_msr) */
#define PACAIRQSOFTMASK 1666 /* offsetof(struct paca_struct, irq_soft_mask) */
#define PACAIRQHAPPENED 1667 /* offsetof(struct paca_struct, irq_happened) */
#define PACA_FTRACE_ENABLED 1680 /* offsetof(struct paca_struct, ftrace_enabled) */
#define PACAPGD 128 /* offsetof(struct paca_struct, pgd) */
#define PACA_KERNELPGD 136 /* offsetof(struct paca_struct, kernel_pgd) */
#define PACA_EXGEN 64 /* offsetof(struct paca_struct, exgen) */
#define PACA_EXTLB 152 /* offsetof(struct paca_struct, extlb) */
#define PACA_EXMC 1400 /* offsetof(struct paca_struct, exmc) */
#define PACA_EXCRIT 1464 /* offsetof(struct paca_struct, excrit) */
#define PACA_EXDBG 1528 /* offsetof(struct paca_struct, exdbg) */
#define PACA_MC_STACK 1592 /* offsetof(struct paca_struct, mc_kstack) */
#define PACA_CRIT_STACK 1600 /* offsetof(struct paca_struct, crit_kstack) */
#define PACA_DBG_STACK 1608 /* offsetof(struct paca_struct, dbg_kstack) */
#define PACA_TCD_PTR 144 /* offsetof(struct paca_struct, tcd_ptr) */
#define TCD_ESEL_NEXT 1 /* offsetof(struct tlb_core_data, esel_next) */
#define TCD_ESEL_MAX 2 /* offsetof(struct tlb_core_data, esel_max) */
#define TCD_ESEL_FIRST 3 /* offsetof(struct tlb_core_data, esel_first) */
#define PACAEMERGSP 32 /* offsetof(struct paca_struct, emergency_sp) */
#define PACAHWCPUID 48 /* offsetof(struct paca_struct, hw_cpu_id) */
#define PACAKEXECSTATE 51 /* offsetof(struct paca_struct, kexec_state) */
#define PACA_DSCR_DEFAULT 56 /* offsetof(struct paca_struct, dscr_default) */
#define PACA_EXIT_SAVE_R1 1656 /* offsetof(struct paca_struct, exit_save_r1) */
#define PACA_TRAP_SAVE 1664 /* offsetof(struct paca_struct, trap_save) */
#define PACA_SPRG_VDSO 1672 /* offsetof(struct paca_struct, sprg_vdso) */
#define RTASBASE 8 /* offsetof(struct rtas_t, base) */
#define RTASENTRY 0 /* offsetof(struct rtas_t, entry) */
#define INT_FRAME_SIZE 720 /* STACK_INT_FRAME_SIZE */
#define SWITCH_FRAME_SIZE 432 /* STACK_SWITCH_FRAME_SIZE */
#define GPR0 48 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[0]) */
#define GPR1 56 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[1]) */
#define GPR2 64 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[2]) */
#define GPR3 72 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[3]) */
#define GPR4 80 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[4]) */
#define GPR5 88 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[5]) */
#define GPR6 96 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[6]) */
#define GPR7 104 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[7]) */
#define GPR8 112 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[8]) */
#define GPR9 120 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[9]) */
#define GPR10 128 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[10]) */
#define GPR11 136 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[11]) */
#define GPR12 144 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[12]) */
#define GPR13 152 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, gpr[13]) */
#define _NIP 304 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, nip) */
#define _MSR 312 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, msr) */
#define _CTR 328 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, ctr) */
#define _LINK 336 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, link) */
#define _CCR 352 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, ccr) */
#define _XER 344 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, xer) */
#define _DAR 376 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dar) */
#define _DEAR 376 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dear) */
#define _DSISR 384 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, dsisr) */
#define _ESR 384 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, esr) */
#define ORIG_GPR3 320 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, orig_gpr3) */
#define RESULT 392 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, result) */
#define _TRAP 368 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, trap) */
#define SOFTE 360 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, softe) */
#define _PPR 400 /* STACK_INT_FRAME_REGS + offsetof(struct pt_regs, ppr) */
#define CPU_SPEC_FEATURES 16 /* offsetof(struct cpu_spec, cpu_features) */
#define CPU_SPEC_SETUP 64 /* offsetof(struct cpu_spec, cpu_setup) */
#define CPU_SPEC_RESTORE 72 /* offsetof(struct cpu_spec, cpu_restore) */
#define pbe_address 0 /* offsetof(struct pbe, address) */
#define pbe_orig_address 8 /* offsetof(struct pbe, orig_address) */
#define pbe_next 16 /* offsetof(struct pbe, next) */
#define VDSO_DATA_OFFSET 248 /* offsetof(struct vdso_arch_data, data) */
#define VDSO_RNG_DATA_OFFSET 728 /* offsetof(struct vdso_arch_data, rng_data) */
#define CFG_TB_TICKS_PER_SEC 56 /* offsetof(struct vdso_arch_data, tb_ticks_per_sec) */
#define CFG_ICACHE_BLOCKSZ 116 /* offsetof(struct vdso_arch_data, icache_block_size) */
#define CFG_DCACHE_BLOCKSZ 112 /* offsetof(struct vdso_arch_data, dcache_block_size) */
#define CFG_ICACHE_LOGBLOCKSZ 124 /* offsetof(struct vdso_arch_data, icache_log_block_size) */
#define CFG_DCACHE_LOGBLOCKSZ 120 /* offsetof(struct vdso_arch_data, dcache_log_block_size) */
#define CFG_SYSCALL_MAP64 128 /* offsetof(struct vdso_arch_data, syscall_map) */
#define CFG_SYSCALL_MAP32 188 /* offsetof(struct vdso_arch_data, compat_syscall_map) */
#define VDSO_CLOCKMODE_OFFSET 252 /* offsetof(struct vdso_arch_data, data[0].clock_mode) */
#define VDSO_CLOCKMODE_TIMENS 2147483647 /* VDSO_CLOCKMODE_TIMENS */
#define BUG_ENTRY_SIZE 8 /* sizeof(struct bug_entry) */
#define TLBCAM_SIZE 24 /* 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 16 /* offsetof(struct tlbcam, MAS3) */
#define TLBCAM_MAS7 20 /* offsetof(struct tlbcam, MAS7) */
#define PPC_DBELL_SERVER 5 /* PPC_DBELL_SERVER */

#endif
