]> Git Repo - linux.git/blob - arch/m32r/kernel/asm-offsets.c
chardev: add helper function to register char devs with a struct device
[linux.git] / arch / m32r / kernel / asm-offsets.c
1 #include <linux/thread_info.h>
2 #include <linux/kbuild.h>
3
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 }
This page took 0.028172 seconds and 4 git commands to generate.