diff options
Diffstat (limited to 'include/asm-cris/arch-v32/offset.h')
-rw-r--r-- | include/asm-cris/arch-v32/offset.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v32/offset.h b/include/asm-cris/arch-v32/offset.h new file mode 100644 index 000000000000..597419b033f9 --- /dev/null +++ b/include/asm-cris/arch-v32/offset.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef __ASM_OFFSETS_H__ | ||
2 | #define __ASM_OFFSETS_H__ | ||
3 | /* | ||
4 | * DO NOT MODIFY. | ||
5 | * | ||
6 | * This file was generated by arch/cris/Makefile | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #define PT_orig_r10 0 /* offsetof(struct pt_regs, orig_r10) */ | ||
11 | #define PT_r13 56 /* offsetof(struct pt_regs, r13) */ | ||
12 | #define PT_r12 52 /* offsetof(struct pt_regs, r12) */ | ||
13 | #define PT_r11 48 /* offsetof(struct pt_regs, r11) */ | ||
14 | #define PT_r10 44 /* offsetof(struct pt_regs, r10) */ | ||
15 | #define PT_r9 40 /* offsetof(struct pt_regs, r9) */ | ||
16 | #define PT_acr 60 /* offsetof(struct pt_regs, acr) */ | ||
17 | #define PT_srs 64 /* offsetof(struct pt_regs, srs) */ | ||
18 | #define PT_mof 68 /* offsetof(struct pt_regs, mof) */ | ||
19 | #define PT_ccs 76 /* offsetof(struct pt_regs, ccs) */ | ||
20 | #define PT_srp 80 /* offsetof(struct pt_regs, srp) */ | ||
21 | |||
22 | #define TI_task 0 /* offsetof(struct thread_info, task) */ | ||
23 | #define TI_flags 8 /* offsetof(struct thread_info, flags) */ | ||
24 | #define TI_preempt_count 16 /* offsetof(struct thread_info, preempt_count) */ | ||
25 | |||
26 | #define THREAD_ksp 0 /* offsetof(struct thread_struct, ksp) */ | ||
27 | #define THREAD_usp 4 /* offsetof(struct thread_struct, usp) */ | ||
28 | #define THREAD_ccs 8 /* offsetof(struct thread_struct, ccs) */ | ||
29 | |||
30 | #define TASK_pid 149 /* offsetof(struct task_struct, pid) */ | ||
31 | |||
32 | #define LCLONE_VM 256 /* CLONE_VM */ | ||
33 | #define LCLONE_UNTRACED 8388608 /* CLONE_UNTRACED */ | ||
34 | |||
35 | #endif | ||