1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/thread_info.h>
3 #include <linux/kbuild.h>
7 OFFSET(TI_TASK
, thread_info
, task
);
8 OFFSET(TI_FLAGS
, thread_info
, flags
);
9 OFFSET(TI_STATUS
, thread_info
, status
);
10 OFFSET(TI_CPU
, thread_info
, cpu
);
11 OFFSET(TI_PRE_COUNT
, thread_info
, preempt_count
);
12 OFFSET(TI_ADDR_LIMIT
, thread_info
, addr_limit
);