arm64: uaccess: Fix omissions from usercopy whitelist
[sfrench/cifs-2.6.git] / arch / cris / include / arch-v32 / arch / offset.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_OFFSETS_H__
3 #define __ASM_OFFSETS_H__
4 /*
5  * DO NOT MODIFY.
6  *
7  * This file was generated by arch/cris/Makefile
8  *
9  */
10
11 #define PT_orig_r10 0 /* offsetof(struct pt_regs, orig_r10) */
12 #define PT_r13 56 /* offsetof(struct pt_regs, r13) */
13 #define PT_r12 52 /* offsetof(struct pt_regs, r12) */
14 #define PT_r11 48 /* offsetof(struct pt_regs, r11) */
15 #define PT_r10 44 /* offsetof(struct pt_regs, r10) */
16 #define PT_r9 40 /* offsetof(struct pt_regs, r9) */
17 #define PT_acr 60 /* offsetof(struct pt_regs, acr) */
18 #define PT_srs 64 /* offsetof(struct pt_regs, srs) */
19 #define PT_mof 68 /* offsetof(struct pt_regs, mof) */
20 #define PT_ccs 76 /* offsetof(struct pt_regs, ccs) */
21 #define PT_srp 80 /* offsetof(struct pt_regs, srp) */
22
23 #define TI_task 0 /* offsetof(struct thread_info, task) */
24 #define TI_flags 8 /* offsetof(struct thread_info, flags) */
25 #define TI_preempt_count 16 /* offsetof(struct thread_info, preempt_count) */
26
27 #define THREAD_ksp 0 /* offsetof(struct thread_struct, ksp) */
28 #define THREAD_usp 4 /* offsetof(struct thread_struct, usp) */
29 #define THREAD_ccs 8 /* offsetof(struct thread_struct, ccs) */
30
31 #define TASK_pid 151 /* offsetof(struct task_struct, pid) */
32
33 #define LCLONE_VM 256 /* CLONE_VM */
34 #define LCLONE_UNTRACED 8388608 /* CLONE_UNTRACED */
35
36 #endif