19 #include <linux/sched.h>
21 #include <linux/ptrace.h>
27 # error Can only build TILE-Gx configurations with tilegx compiler
30 # error Must not specify -m32 when building the TILE-Gx kernel
34 # error Can not build TILEPro/TILE64 configurations with tilegx compiler
40 DEFINE(SINGLESTEP_STATE_BUFFER_OFFSET, \
42 DEFINE(SINGLESTEP_STATE_FLAGS_OFFSET, \
44 DEFINE(SINGLESTEP_STATE_ORIG_PC_OFFSET, \
46 DEFINE(SINGLESTEP_STATE_NEXT_PC_OFFSET, \
48 DEFINE(SINGLESTEP_STATE_BRANCH_NEXT_PC_OFFSET, \
50 DEFINE(SINGLESTEP_STATE_UPDATE_VALUE_OFFSET, \
53 DEFINE(THREAD_INFO_TASK_OFFSET, \
55 DEFINE(THREAD_INFO_FLAGS_OFFSET, \
57 DEFINE(THREAD_INFO_STATUS_OFFSET, \
59 DEFINE(THREAD_INFO_HOMECACHE_CPU_OFFSET, \
61 DEFINE(THREAD_INFO_STEP_STATE_OFFSET, \
64 DEFINE(TASK_STRUCT_THREAD_KSP_OFFSET,
66 DEFINE(TASK_STRUCT_THREAD_PC_OFFSET,
69 DEFINE(HV_TOPOLOGY_WIDTH_OFFSET, \
71 DEFINE(HV_TOPOLOGY_HEIGHT_OFFSET, \
74 DEFINE(IRQ_CPUSTAT_SYSCALL_COUNT_OFFSET, \
75 offsetof(irq_cpustat_t, irq_syscall_count));