• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <linux/thread_info.h>
2 #include <linux/kbuild.h>
3 
foo(void)4 int foo(void)
5 {
6 	OFFSET(TI_TASK, thread_info, task);
7 	OFFSET(TI_FLAGS, thread_info, flags);
8 	OFFSET(TI_STATUS, thread_info, status);
9 	OFFSET(TI_CPU, thread_info, cpu);
10 	OFFSET(TI_PRE_COUNT, thread_info, preempt_count);
11 	OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit);
12 
13 	return 0;
14 }
15