In file included from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/asm-offsets.c:12: include/linux/thread_info.h:30: error: syntax error before '{' token include/linux/thread_info.h:35: error: syntax error before '{' token include/linux/thread_info.h: In function `test_and_set_thread_flag': include/linux/thread_info.h:42: error: `current' undeclared (first use in this function) include/linux/thread_info.h:42: error: (Each undeclared identifier is reported only once include/linux/thread_info.h:42: error: for each function it appears in.) include/linux/thread_info.h: In function `test_and_clear_thread_flag': include/linux/thread_info.h:47: error: `current' undeclared (first use in this function) include/linux/thread_info.h: At top level: include/linux/thread_info.h:50: error: syntax error before '{' token include/linux/thread_info.h:50: warning: type defaults to `int' in declaration of `___res' include/linux/thread_info.h:50: warning: data definition has no type or storage class include/linux/thread_info.h:50: error: syntax error before '}' token include/linux/thread_info.h: In function `set_ti_thread_flag': include/linux/thread_info.h:57: error: structure has no member named `flags' include/linux/thread_info.h:57: error: structure has no member named `flags' include/linux/thread_info.h: In function `clear_ti_thread_flag': include/linux/thread_info.h:62: error: structure has no member named `flags' include/linux/thread_info.h:62: error: structure has no member named `flags' include/linux/thread_info.h: In function `test_and_set_ti_thread_flag': include/linux/thread_info.h:67: error: structure has no member named `flags' include/linux/thread_info.h:67: error: structure has no member named `flags' include/linux/thread_info.h: In function `test_and_clear_ti_thread_flag': include/linux/thread_info.h:72: error: structure has no member named `flags' include/linux/thread_info.h:72: error: structure has no member named `flags' include/linux/thread_info.h: In function `test_ti_thread_flag': include/linux/thread_info.h:77: error: structure has no member named `flags' In file included from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/asm-offsets.c:12: include/linux/thread_info.h:80:41: macro "set_need_resched" passed 1 arguments, but takes just 0 include/linux/thread_info.h: At top level: include/linux/thread_info.h:81: error: syntax error before '{' token include/linux/thread_info.h:85:43: macro "clear_need_resched" passed 1 arguments, but takes just 0 include/linux/thread_info.h:86: error: syntax error before '{' token In file included from include/linux/hardirq.h:7, from include/asm/system.h:54, from include/linux/spinlock.h:57, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/asm-offsets.c:12: include/asm/hardirq.h:22:27: warning: "NR_IRQS" is not defined In file included from include/linux/wait.h:27, from include/asm/semaphore.h:9, from include/linux/sched.h:20, from arch/m68k/kernel/asm-offsets.c:12: include/asm/current.h:4: error: `current' used prior to declaration In file included from arch/m68k/kernel/asm-offsets.c:12: include/linux/sched.h:1175: error: syntax error before '{' token include/linux/sched.h:1180: error: syntax error before '{' token include/linux/sched.h:1185: error: syntax error before '{' token include/linux/sched.h:1185: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:1185: warning: data definition has no type or storage class include/linux/sched.h:1185: error: syntax error before '}' token include/linux/sched.h:1185: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:1185: warning: data definition has no type or storage class include/linux/sched.h:1185: error: syntax error before '}' token include/linux/sched.h:1195: error: syntax error before '{' token include/linux/sched.h:1195: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:1195: warning: data definition has no type or storage class include/linux/sched.h:1195: error: syntax error before '}' token make[1]: *** [arch/m68k/kernel/asm-offsets.s] Error 1 make[1]: Target `__build' not remade because of errors. make: *** [prepare0] Error 2 make: Target `_all' not remade because of errors.