#ifndef __ASM_OFFSETS_H__
#define __ASM_OFFSETS_H__
/*
 * DO NOT MODIFY.
 *
 * This file was generated by arch/ia64/Makefile
 *
 */

#define IA64_TASK_SIZE 3456 /* sizeof (struct task_struct) */
#define IA64_THREAD_INFO_SIZE 112 /* sizeof (struct thread_info) */
#define IA64_PT_REGS_SIZE 448 /* sizeof (struct pt_regs) */
#define IA64_SWITCH_STACK_SIZE 528 /* sizeof (struct switch_stack) */
#define IA64_SIGINFO_SIZE 128 /* sizeof (struct siginfo) */
#define IA64_CPU_SIZE 192 /* sizeof (struct cpuinfo_ia64) */
#define SIGFRAME_SIZE 2816 /* sizeof (struct sigframe) */
#define UNW_FRAME_INFO_SIZE 456 /* sizeof (struct unw_frame_info) */

#define TI_FLAGS 16 /* offsetof(struct thread_info, flags) */
#define TI_PRE_COUNT 32 /* offsetof(struct thread_info, preempt_count) */

#define IA64_TASK_BLOCKED_OFFSET 3224 /* offsetof (struct task_struct, blocked) */
#define IA64_TASK_CLEAR_CHILD_TID_OFFSET 544 /* offsetof (struct task_struct, clear_child_tid) */
#define IA64_TASK_GROUP_LEADER_OFFSET 360 /* offsetof (struct task_struct, group_leader) */
#define IA64_TASK_PENDING_OFFSET 3240 /* offsetof (struct task_struct, pending) */
#define IA64_TASK_PID_OFFSET 300 /* offsetof (struct task_struct, pid) */
#define IA64_TASK_REAL_PARENT_OFFSET 312 /* offsetof (struct task_struct, real_parent) */
#define IA64_TASK_SIGHAND_OFFSET 3216 /* offsetof (struct task_struct, sighand) */
#define IA64_TASK_SIGNAL_OFFSET 3208 /* offsetof (struct task_struct, signal) */
#define IA64_TASK_TGID_OFFSET 304 /* offsetof (struct task_struct, tgid) */
#define IA64_TASK_THREAD_KSP_OFFSET 856 /* offsetof (struct task_struct, thread.ksp) */
#define IA64_TASK_THREAD_ON_USTACK_OFFSET 852 /* offsetof (struct task_struct, thread.on_ustack) */

#define IA64_SIGHAND_SIGLOCK_OFFSET 1544 /* offsetof (struct sighand_struct, siglock) */

#define IA64_SIGNAL_GROUP_STOP_COUNT_OFFSET 84 /* offsetof (struct signal_struct, group_stop_count) */
#define IA64_SIGNAL_SHARED_PENDING_OFFSET 40 /* offsetof (struct signal_struct, shared_pending) */

#define IA64_PT_REGS_B6_OFFSET 0 /* offsetof (struct pt_regs, b6) */
#define IA64_PT_REGS_B7_OFFSET 8 /* offsetof (struct pt_regs, b7) */
#define IA64_PT_REGS_AR_CSD_OFFSET 16 /* offsetof (struct pt_regs, ar_csd) */
#define IA64_PT_REGS_AR_SSD_OFFSET 24 /* offsetof (struct pt_regs, ar_ssd) */
#define IA64_PT_REGS_R8_OFFSET 32 /* offsetof (struct pt_regs, r8) */
#define IA64_PT_REGS_R9_OFFSET 40 /* offsetof (struct pt_regs, r9) */
#define IA64_PT_REGS_R10_OFFSET 48 /* offsetof (struct pt_regs, r10) */
#define IA64_PT_REGS_R11_OFFSET 56 /* offsetof (struct pt_regs, r11) */
#define IA64_PT_REGS_CR_IPSR_OFFSET 64 /* offsetof (struct pt_regs, cr_ipsr) */
#define IA64_PT_REGS_CR_IIP_OFFSET 72 /* offsetof (struct pt_regs, cr_iip) */
#define IA64_PT_REGS_CR_IFS_OFFSET 80 /* offsetof (struct pt_regs, cr_ifs) */
#define IA64_PT_REGS_AR_UNAT_OFFSET 88 /* offsetof (struct pt_regs, ar_unat) */
#define IA64_PT_REGS_AR_PFS_OFFSET 96 /* offsetof (struct pt_regs, ar_pfs) */
#define IA64_PT_REGS_AR_RSC_OFFSET 104 /* offsetof (struct pt_regs, ar_rsc) */
#define IA64_PT_REGS_AR_RNAT_OFFSET 112 /* offsetof (struct pt_regs, ar_rnat) */
#define IA64_PT_REGS_AR_BSPSTORE_OFFSET 120 /* offsetof (struct pt_regs, ar_bspstore) */
#define IA64_PT_REGS_PR_OFFSET 128 /* offsetof (struct pt_regs, pr) */
#define IA64_PT_REGS_B0_OFFSET 136 /* offsetof (struct pt_regs, b0) */
#define IA64_PT_REGS_LOADRS_OFFSET 144 /* offsetof (struct pt_regs, loadrs) */
#define IA64_PT_REGS_R1_OFFSET 152 /* offsetof (struct pt_regs, r1) */
#define IA64_PT_REGS_R12_OFFSET 160 /* offsetof (struct pt_regs, r12) */
#define IA64_PT_REGS_R13_OFFSET 168 /* offsetof (struct pt_regs, r13) */
#define IA64_PT_REGS_AR_FPSR_OFFSET 176 /* offsetof (struct pt_regs, ar_fpsr) */
#define IA64_PT_REGS_R15_OFFSET 184 /* offsetof (struct pt_regs, r15) */
#define IA64_PT_REGS_R14_OFFSET 192 /* offsetof (struct pt_regs, r14) */
#define IA64_PT_REGS_R2_OFFSET 200 /* offsetof (struct pt_regs, r2) */
#define IA64_PT_REGS_R3_OFFSET 208 /* offsetof (struct pt_regs, r3) */
#define IA64_PT_REGS_R16_OFFSET 216 /* offsetof (struct pt_regs, r16) */
#define IA64_PT_REGS_R17_OFFSET 224 /* offsetof (struct pt_regs, r17) */
#define IA64_PT_REGS_R18_OFFSET 232 /* offsetof (struct pt_regs, r18) */
#define IA64_PT_REGS_R19_OFFSET 240 /* offsetof (struct pt_regs, r19) */
#define IA64_PT_REGS_R20_OFFSET 248 /* offsetof (struct pt_regs, r20) */
#define IA64_PT_REGS_R21_OFFSET 256 /* offsetof (struct pt_regs, r21) */
#define IA64_PT_REGS_R22_OFFSET 264 /* offsetof (struct pt_regs, r22) */
#define IA64_PT_REGS_R23_OFFSET 272 /* offsetof (struct pt_regs, r23) */
#define IA64_PT_REGS_R24_OFFSET 280 /* offsetof (struct pt_regs, r24) */
#define IA64_PT_REGS_R25_OFFSET 288 /* offsetof (struct pt_regs, r25) */
#define IA64_PT_REGS_R26_OFFSET 296 /* offsetof (struct pt_regs, r26) */
#define IA64_PT_REGS_R27_OFFSET 304 /* offsetof (struct pt_regs, r27) */
#define IA64_PT_REGS_R28_OFFSET 312 /* offsetof (struct pt_regs, r28) */
#define IA64_PT_REGS_R29_OFFSET 320 /* offsetof (struct pt_regs, r29) */
#define IA64_PT_REGS_R30_OFFSET 328 /* offsetof (struct pt_regs, r30) */
#define IA64_PT_REGS_R31_OFFSET 336 /* offsetof (struct pt_regs, r31) */
#define IA64_PT_REGS_AR_CCV_OFFSET 344 /* offsetof (struct pt_regs, ar_ccv) */
#define IA64_PT_REGS_F6_OFFSET 352 /* offsetof (struct pt_regs, f6) */
#define IA64_PT_REGS_F7_OFFSET 368 /* offsetof (struct pt_regs, f7) */
#define IA64_PT_REGS_F8_OFFSET 384 /* offsetof (struct pt_regs, f8) */
#define IA64_PT_REGS_F9_OFFSET 400 /* offsetof (struct pt_regs, f9) */
#define IA64_PT_REGS_F10_OFFSET 416 /* offsetof (struct pt_regs, f10) */
#define IA64_PT_REGS_F11_OFFSET 432 /* offsetof (struct pt_regs, f11) */

#define IA64_SWITCH_STACK_CALLER_UNAT_OFFSET 0 /* offsetof (struct switch_stack, caller_unat) */
#define IA64_SWITCH_STACK_AR_FPSR_OFFSET 8 /* offsetof (struct switch_stack, ar_fpsr) */
#define IA64_SWITCH_STACK_F2_OFFSET 16 /* offsetof (struct switch_stack, f2) */
#define IA64_SWITCH_STACK_F3_OFFSET 32 /* offsetof (struct switch_stack, f3) */
#define IA64_SWITCH_STACK_F4_OFFSET 48 /* offsetof (struct switch_stack, f4) */
#define IA64_SWITCH_STACK_F5_OFFSET 64 /* offsetof (struct switch_stack, f5) */
#define IA64_SWITCH_STACK_F12_OFFSET 80 /* offsetof (struct switch_stack, f12) */
#define IA64_SWITCH_STACK_F13_OFFSET 96 /* offsetof (struct switch_stack, f13) */
#define IA64_SWITCH_STACK_F14_OFFSET 112 /* offsetof (struct switch_stack, f14) */
#define IA64_SWITCH_STACK_F15_OFFSET 128 /* offsetof (struct switch_stack, f15) */
#define IA64_SWITCH_STACK_F16_OFFSET 144 /* offsetof (struct switch_stack, f16) */
#define IA64_SWITCH_STACK_F17_OFFSET 160 /* offsetof (struct switch_stack, f17) */
#define IA64_SWITCH_STACK_F18_OFFSET 176 /* offsetof (struct switch_stack, f18) */
#define IA64_SWITCH_STACK_F19_OFFSET 192 /* offsetof (struct switch_stack, f19) */
#define IA64_SWITCH_STACK_F20_OFFSET 208 /* offsetof (struct switch_stack, f20) */
#define IA64_SWITCH_STACK_F21_OFFSET 224 /* offsetof (struct switch_stack, f21) */
#define IA64_SWITCH_STACK_F22_OFFSET 240 /* offsetof (struct switch_stack, f22) */
#define IA64_SWITCH_STACK_F23_OFFSET 256 /* offsetof (struct switch_stack, f23) */
#define IA64_SWITCH_STACK_F24_OFFSET 272 /* offsetof (struct switch_stack, f24) */
#define IA64_SWITCH_STACK_F25_OFFSET 288 /* offsetof (struct switch_stack, f25) */
#define IA64_SWITCH_STACK_F26_OFFSET 304 /* offsetof (struct switch_stack, f26) */
#define IA64_SWITCH_STACK_F27_OFFSET 320 /* offsetof (struct switch_stack, f27) */
#define IA64_SWITCH_STACK_F28_OFFSET 336 /* offsetof (struct switch_stack, f28) */
#define IA64_SWITCH_STACK_F29_OFFSET 352 /* offsetof (struct switch_stack, f29) */
#define IA64_SWITCH_STACK_F30_OFFSET 368 /* offsetof (struct switch_stack, f30) */
#define IA64_SWITCH_STACK_F31_OFFSET 384 /* offsetof (struct switch_stack, f31) */
#define IA64_SWITCH_STACK_R4_OFFSET 400 /* offsetof (struct switch_stack, r4) */
#define IA64_SWITCH_STACK_R5_OFFSET 408 /* offsetof (struct switch_stack, r5) */
#define IA64_SWITCH_STACK_R6_OFFSET 416 /* offsetof (struct switch_stack, r6) */
#define IA64_SWITCH_STACK_R7_OFFSET 424 /* offsetof (struct switch_stack, r7) */
#define IA64_SWITCH_STACK_B0_OFFSET 432 /* offsetof (struct switch_stack, b0) */
#define IA64_SWITCH_STACK_B1_OFFSET 440 /* offsetof (struct switch_stack, b1) */
#define IA64_SWITCH_STACK_B2_OFFSET 448 /* offsetof (struct switch_stack, b2) */
#define IA64_SWITCH_STACK_B3_OFFSET 456 /* offsetof (struct switch_stack, b3) */
#define IA64_SWITCH_STACK_B4_OFFSET 464 /* offsetof (struct switch_stack, b4) */
#define IA64_SWITCH_STACK_B5_OFFSET 472 /* offsetof (struct switch_stack, b5) */
#define IA64_SWITCH_STACK_AR_PFS_OFFSET 480 /* offsetof (struct switch_stack, ar_pfs) */
#define IA64_SWITCH_STACK_AR_LC_OFFSET 488 /* offsetof (struct switch_stack, ar_lc) */
#define IA64_SWITCH_STACK_AR_UNAT_OFFSET 496 /* offsetof (struct switch_stack, ar_unat) */
#define IA64_SWITCH_STACK_AR_RNAT_OFFSET 504 /* offsetof (struct switch_stack, ar_rnat) */
#define IA64_SWITCH_STACK_AR_BSPSTORE_OFFSET 512 /* offsetof (struct switch_stack, ar_bspstore) */
#define IA64_SWITCH_STACK_PR_OFFSET 520 /* offsetof (struct switch_stack, pr) */

#define IA64_SIGCONTEXT_IP_OFFSET 40 /* offsetof (struct sigcontext, sc_ip) */
#define IA64_SIGCONTEXT_AR_BSP_OFFSET 72 /* offsetof (struct sigcontext, sc_ar_bsp) */
#define IA64_SIGCONTEXT_AR_FPSR_OFFSET 104 /* offsetof (struct sigcontext, sc_ar_fpsr) */
#define IA64_SIGCONTEXT_AR_RNAT_OFFSET 80 /* offsetof (struct sigcontext, sc_ar_rnat) */
#define IA64_SIGCONTEXT_AR_UNAT_OFFSET 96 /* offsetof (struct sigcontext, sc_ar_unat) */
#define IA64_SIGCONTEXT_B0_OFFSET 136 /* offsetof (struct sigcontext, sc_br[0]) */
#define IA64_SIGCONTEXT_CFM_OFFSET 48 /* offsetof (struct sigcontext, sc_cfm) */
#define IA64_SIGCONTEXT_FLAGS_OFFSET 0 /* offsetof (struct sigcontext, sc_flags) */
#define IA64_SIGCONTEXT_FR6_OFFSET 560 /* offsetof (struct sigcontext, sc_fr[6]) */
#define IA64_SIGCONTEXT_PR_OFFSET 128 /* offsetof (struct sigcontext, sc_pr) */
#define IA64_SIGCONTEXT_R12_OFFSET 296 /* offsetof (struct sigcontext, sc_gr[12]) */
#define IA64_SIGCONTEXT_RBS_BASE_OFFSET 2512 /* offsetof (struct sigcontext, sc_rbs_base) */
#define IA64_SIGCONTEXT_LOADRS_OFFSET 2520 /* offsetof (struct sigcontext, sc_loadrs) */

#define IA64_SIGPENDING_SIGNAL_OFFSET 16 /* offsetof (struct sigpending, signal) */

#define IA64_SIGFRAME_ARG0_OFFSET 0 /* offsetof (struct sigframe, arg0) */
#define IA64_SIGFRAME_ARG1_OFFSET 8 /* offsetof (struct sigframe, arg1) */
#define IA64_SIGFRAME_ARG2_OFFSET 16 /* offsetof (struct sigframe, arg2) */
#define IA64_SIGFRAME_HANDLER_OFFSET 24 /* offsetof (struct sigframe, handler) */
#define IA64_SIGFRAME_SIGCONTEXT_OFFSET 160 /* offsetof (struct sigframe, sc) */

#define IA64_CLONE_VFORK 16384 /* CLONE_VFORK */
#define IA64_CLONE_VM 256 /* CLONE_VM */

#define IA64_CPUINFO_NSEC_PER_CYC_OFFSET 24 /* offsetof (struct cpuinfo_ia64, nsec_per_cyc) */
#define IA64_CPUINFO_PTCE_BASE_OFFSET 96 /* offsetof (struct cpuinfo_ia64, ptce_base) */
#define IA64_CPUINFO_PTCE_COUNT_OFFSET 104 /* offsetof (struct cpuinfo_ia64, ptce_count) */
#define IA64_CPUINFO_PTCE_STRIDE_OFFSET 112 /* offsetof (struct cpuinfo_ia64, ptce_stride) */

#define IA64_TIMESPEC_TV_NSEC_OFFSET 8 /* offsetof (struct timespec, tv_nsec) */
#define CLONE_SETTLS_BIT 19 /* 19 */

#define IA64_MCA_CPU_PROC_STATE_DUMP_OFFSET 8192 /* offsetof (struct ia64_mca_cpu, proc_state_dump) */
#define IA64_MCA_CPU_STACK_OFFSET 0 /* offsetof (struct ia64_mca_cpu, stack) */
#define IA64_MCA_CPU_STACKFRAME_OFFSET 12288 /* offsetof (struct ia64_mca_cpu, stackframe) */
#define IA64_MCA_CPU_RBSTORE_OFFSET 12544 /* offsetof (struct ia64_mca_cpu, rbstore) */
#define IA64_MCA_CPU_INIT_STACK_OFFSET 20736 /* offsetof (struct ia64_mca_cpu, init_stack) */

#define IA64_TIME_INTERPOLATOR_ADDRESS_OFFSET 8 /* offsetof (struct time_interpolator, addr) */
#define IA64_TIME_INTERPOLATOR_SOURCE_OFFSET 0 /* offsetof (struct time_interpolator, source) */
#define IA64_TIME_INTERPOLATOR_SHIFT_OFFSET 2 /* offsetof (struct time_interpolator, shift) */
#define IA64_TIME_INTERPOLATOR_NSEC_OFFSET 4 /* offsetof (struct time_interpolator, nsec_per_cyc) */
#define IA64_TIME_INTERPOLATOR_OFFSET_OFFSET 24 /* offsetof (struct time_interpolator, offset) */
#define IA64_TIME_INTERPOLATOR_LAST_CYCLE_OFFSET 40 /* offsetof (struct time_interpolator, last_cycle) */
#define IA64_TIME_INTERPOLATOR_LAST_COUNTER_OFFSET 32 /* offsetof (struct time_interpolator, last_counter) */
#define IA64_TIME_INTERPOLATOR_JITTER_OFFSET 3 /* offsetof (struct time_interpolator, jitter) */
#define IA64_TIME_INTERPOLATOR_MASK_OFFSET 16 /* offsetof (struct time_interpolator, mask) */
#define IA64_TIME_SOURCE_CPU 0 /* TIME_SOURCE_CPU */
#define IA64_TIME_SOURCE_MMIO64 1 /* TIME_SOURCE_MMIO64 */
#define IA64_TIME_SOURCE_MMIO32 2 /* TIME_SOURCE_MMIO32 */
#define IA64_TIMESPEC_TV_NSEC_OFFSET 8 /* offsetof (struct timespec, tv_nsec) */

#endif
