Linux 2.6.12-rc6
[cris-mirror.git] / include / asm-m68knommu / asm-offsets.h
blob825f6e210f193ca6115c282fcf91ef0b05d5c1a7
1 #ifndef __ASM_OFFSETS_H__
2 #define __ASM_OFFSETS_H__
3 /*
4 * DO NOT MODIFY.
6 * This file was generated by arch/m68knommu/Makefile
8 */
10 #define TASK_STATE 0 /* offsetof(struct task_struct, state) */
11 #define TASK_FLAGS 12 /* offsetof(struct task_struct, flags) */
12 #define TASK_PTRACE 16 /* offsetof(struct task_struct, ptrace) */
13 #define TASK_BLOCKED 922 /* offsetof(struct task_struct, blocked) */
14 #define TASK_THREAD 772 /* offsetof(struct task_struct, thread) */
15 #define TASK_THREAD_INFO 4 /* offsetof(struct task_struct, thread_info) */
16 #define TASK_MM 92 /* offsetof(struct task_struct, mm) */
17 #define TASK_ACTIVE_MM 96 /* offsetof(struct task_struct, active_mm) */
18 #define CPUSTAT_SOFTIRQ_PENDING 0 /* offsetof(irq_cpustat_t, __softirq_pending) */
19 #define THREAD_KSP 0 /* offsetof(struct thread_struct, ksp) */
20 #define THREAD_USP 4 /* offsetof(struct thread_struct, usp) */
21 #define THREAD_SR 8 /* offsetof(struct thread_struct, sr) */
22 #define THREAD_FS 10 /* offsetof(struct thread_struct, fs) */
23 #define THREAD_CRP 12 /* offsetof(struct thread_struct, crp) */
24 #define THREAD_ESP0 20 /* offsetof(struct thread_struct, esp0) */
25 #define THREAD_FPREG 24 /* offsetof(struct thread_struct, fp) */
26 #define THREAD_FPCNTL 120 /* offsetof(struct thread_struct, fpcntl) */
27 #define THREAD_FPSTATE 132 /* offsetof(struct thread_struct, fpstate) */
28 #define PT_D0 32 /* offsetof(struct pt_regs, d0) */
29 #define PT_ORIG_D0 36 /* offsetof(struct pt_regs, orig_d0) */
30 #define PT_D1 0 /* offsetof(struct pt_regs, d1) */
31 #define PT_D2 4 /* offsetof(struct pt_regs, d2) */
32 #define PT_D3 8 /* offsetof(struct pt_regs, d3) */
33 #define PT_D4 12 /* offsetof(struct pt_regs, d4) */
34 #define PT_D5 16 /* offsetof(struct pt_regs, d5) */
35 #define PT_A0 20 /* offsetof(struct pt_regs, a0) */
36 #define PT_A1 24 /* offsetof(struct pt_regs, a1) */
37 #define PT_A2 28 /* offsetof(struct pt_regs, a2) */
38 #define PT_PC 48 /* offsetof(struct pt_regs, pc) */
39 #define PT_SR 46 /* offsetof(struct pt_regs, sr) */
40 #define PT_VECTOR 52 /* offsetof(struct pt_regs, pc) + 4 */
41 #define STAT_IRQ 5140 /* offsetof(struct kernel_stat, irqs) */
42 #define SIGSEGV 11 /* SIGSEGV */
43 #define SEGV_MAPERR 196609 /* SEGV_MAPERR */
44 #define SIGTRAP 5 /* SIGTRAP */
45 #define TRAP_TRACE 196610 /* TRAP_TRACE */
46 #define PT_PTRACED 1 /* PT_PTRACED */
47 #define PT_DTRACE 2 /* PT_DTRACE */
49 #endif