In file included from include/asm/thread_info.h:5, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/main.c:15: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/main.c:15: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/main.c:15: 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/asm/thread_info.h:5, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/m68k_defs.c:12: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/m68k_defs.c:12: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/m68k/kernel/m68k_defs.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/module.h:10, from init/main.c:15: include/linux/sched.h:421: error: field `thread' has incomplete type In file included from include/linux/sched.h:568, from include/linux/module.h:10, from init/main.c:15: include/asm/current.h:4: error: `current' used prior to declaration In file included from include/linux/module.h:10, from init/main.c:15: include/linux/sched.h:802: error: parse error before '{' token include/linux/sched.h:807: error: parse error before '{' token include/linux/sched.h:812: error: parse error before '{' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:822: error: parse error before '{' token include/linux/sched.h:822: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:822: warning: data definition has no type or storage class include/linux/sched.h:822: error: parse error before '}' token In file included from arch/m68k/kernel/m68k_defs.c:12: include/linux/sched.h:421: error: field `thread' has incomplete type In file included from include/linux/sched.h:568, from arch/m68k/kernel/m68k_defs.c:12: include/asm/current.h:4: error: `current' used prior to declaration In file included from arch/m68k/kernel/m68k_defs.c:12: include/linux/sched.h:802: error: parse error before '{' token include/linux/sched.h:807: error: parse error before '{' token include/linux/sched.h:812: error: parse error before '{' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:822: error: parse error before '{' token include/linux/sched.h:822: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:822: warning: data definition has no type or storage class include/linux/sched.h:822: error: parse error before '}' token arch/m68k/kernel/m68k_defs.c: In function `main': arch/m68k/kernel/m68k_defs.c:38: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:39: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:40: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:41: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:42: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:43: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:44: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:45: error: dereferencing pointer to incomplete type arch/m68k/kernel/m68k_defs.c:46: error: dereferencing pointer to incomplete type In file included from include/linux/prefetch.h:13, from include/linux/list.h:7, from include/linux/signal.h:4, from arch/m68k/mm/init.c:11: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/signal.h:5, from arch/m68k/mm/init.c:11: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/signal.h:5, from arch/m68k/mm/init.c:11: 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 make[1]: *** [arch/m68k/kernel/m68k_defs.h] Error 1 make: *** [arch/m68k/kernel] Error 2 make: *** Waiting for unfinished jobs.... In file included from include/asm/thread_info.h:5, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/do_mounts.c:1: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/do_mounts.c:1: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from init/do_mounts.c:1: 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 arch/m68k/mm/init.c:12: include/linux/sched.h:421: error: field `thread' has incomplete type In file included from include/linux/sched.h:568, from arch/m68k/mm/init.c:12: include/asm/current.h:4: error: `current' used prior to declaration In file included from arch/m68k/mm/init.c:12: include/linux/sched.h:802: error: parse error before '{' token include/linux/sched.h:807: error: parse error before '{' token include/linux/sched.h:812: error: parse error before '{' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:822: error: parse error before '{' token include/linux/sched.h:822: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:822: warning: data definition has no type or storage class include/linux/sched.h:822: error: parse error before '}' token In file included from include/asm/thread_info.h:5, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: 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/module.h:10, from init/do_mounts.c:1: include/linux/sched.h:421: error: field `thread' has incomplete type In file included from include/linux/sched.h:568, from include/linux/module.h:10, from init/do_mounts.c:1: include/asm/current.h:4: error: `current' used prior to declaration In file included from include/linux/module.h:10, from init/do_mounts.c:1: include/linux/sched.h:802: error: parse error before '{' token include/linux/sched.h:807: error: parse error before '{' token include/linux/sched.h:812: error: parse error before '{' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:822: error: parse error before '{' token include/linux/sched.h:822: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:822: warning: data definition has no type or storage class include/linux/sched.h:822: error: parse error before '}' token In file included from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: include/linux/sched.h:421: error: field `thread' has incomplete type In file included from include/linux/sched.h:568, from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: include/asm/current.h:4: error: `current' used prior to declaration In file included from include/linux/mm.h:4, from include/linux/mman.h:5, from arch/m68k/mm/fault.c:7: include/linux/sched.h:802: error: parse error before '{' token include/linux/sched.h:807: error: parse error before '{' token include/linux/sched.h:812: error: parse error before '{' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:812: warning: type defaults to `int' in declaration of `__res' include/linux/sched.h:812: warning: data definition has no type or storage class include/linux/sched.h:812: error: parse error before '}' token include/linux/sched.h:822: error: parse error before '{' token include/linux/sched.h:822: warning: type defaults to `int' in declaration of `___res' include/linux/sched.h:822: warning: data definition has no type or storage class include/linux/sched.h:822: error: parse error before '}' token make[1]: *** [arch/m68k/mm/init.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [init/main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from include/linux/prefetch.h:13, from include/linux/list.h:7, from include/linux/wait.h:14, from include/linux/fs.h:12, from init/initramfs.c:3: include/asm/processor.h:84: error: `error' undeclared here (not in a function) include/asm/processor.h:84: error: parse error before "no_cpu_type_configured" include/asm/processor.h:84: warning: no semicolon at end of struct or union include/asm/processor.h:86: error: parse error before '}' token In file included from include/linux/spinlock.h:12, from include/linux/wait.h:16, from include/linux/fs.h:12, from init/initramfs.c:3: include/linux/thread_info.h:30: error: parse error before '{' token include/linux/thread_info.h:35: error: parse 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: parse 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: parse 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:12, from include/linux/wait.h:16, from include/linux/fs.h:12, from init/initramfs.c:3: 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 make[1]: *** [arch/m68k/mm/fault.o] Error 1 make: *** [arch/m68k/mm] Error 2 make[1]: *** [init/do_mounts.o] Error 1 make[1]: *** [init/initramfs.o] Error 1