aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/arch-v10/offset.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/arch-v10/offset.h')
-rw-r--r--include/asm-cris/arch-v10/offset.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v10/offset.h b/include/asm-cris/arch-v10/offset.h
new file mode 100644
index 000000000000..fcbd77eab281
--- /dev/null
+++ b/include/asm-cris/arch-v10/offset.h
@@ -0,0 +1,33 @@
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 4 /* offsetof(struct pt_regs, orig_r10) */
11#define PT_r13 8 /* offsetof(struct pt_regs, r13) */
12#define PT_r12 12 /* offsetof(struct pt_regs, r12) */
13#define PT_r11 16 /* offsetof(struct pt_regs, r11) */
14#define PT_r10 20 /* offsetof(struct pt_regs, r10) */
15#define PT_r9 24 /* offsetof(struct pt_regs, r9) */
16#define PT_mof 64 /* offsetof(struct pt_regs, mof) */
17#define PT_dccr 68 /* offsetof(struct pt_regs, dccr) */
18#define PT_srp 72 /* offsetof(struct pt_regs, srp) */
19
20#define TI_task 0 /* offsetof(struct thread_info, task) */
21#define TI_flags 8 /* offsetof(struct thread_info, flags) */
22#define TI_preempt_count 16 /* offsetof(struct thread_info, preempt_count) */
23
24#define THREAD_ksp 0 /* offsetof(struct thread_struct, ksp) */
25#define THREAD_usp 4 /* offsetof(struct thread_struct, usp) */
26#define THREAD_dccr 8 /* offsetof(struct thread_struct, dccr) */
27
28#define TASK_pid 133 /* offsetof(struct task_struct, pid) */
29
30#define LCLONE_VM 256 /* CLONE_VM */
31#define LCLONE_UNTRACED 8388608 /* CLONE_UNTRACED */
32
33#endif