License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / cris / include / arch-v10 / arch / offset.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
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 4 /* offsetof(struct pt_regs, orig_r10) */
12#define PT_r13 8 /* offsetof(struct pt_regs, r13) */
13#define PT_r12 12 /* offsetof(struct pt_regs, r12) */
14#define PT_r11 16 /* offsetof(struct pt_regs, r11) */
15#define PT_r10 20 /* offsetof(struct pt_regs, r10) */
16#define PT_r9 24 /* offsetof(struct pt_regs, r9) */
17#define PT_mof 64 /* offsetof(struct pt_regs, mof) */
18#define PT_dccr 68 /* offsetof(struct pt_regs, dccr) */
19#define PT_srp 72 /* offsetof(struct pt_regs, srp) */
20
21#define TI_task 0 /* offsetof(struct thread_info, task) */
22#define TI_flags 8 /* offsetof(struct thread_info, flags) */
23#define TI_preempt_count 16 /* offsetof(struct thread_info, preempt_count) */
24
25#define THREAD_ksp 0 /* offsetof(struct thread_struct, ksp) */
26#define THREAD_usp 4 /* offsetof(struct thread_struct, usp) */
27#define THREAD_dccr 8 /* offsetof(struct thread_struct, dccr) */
28
5d01e6ce 29#define TASK_pid 141 /* offsetof(struct task_struct, pid) */
1da177e4
LT
30
31#define LCLONE_VM 256 /* CLONE_VM */
32#define LCLONE_UNTRACED 8388608 /* CLONE_UNTRACED */
33
34#endif