-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here's another one, after disabling "Kernel mutexes replace spinlocks" ~ CC arch/x86_64/kernel/asm-offsets.s In file included from include/linux/sched.h:7, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/capability.h:47: error: parse error before "task_capability_lock" include/linux/capability.h:47: warning: type defaults to `int' in declaration of `task_capability_lock' include/linux/capability.h:47: warning: data definition has no type or storage class In file included from include/linux/rwsem.h:25, ~ from include/asm/semaphore.h:43, ~ from include/linux/sched.h:18, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/rwsem-spinlock.h:33: error: parse error before "spinlock_t" include/linux/rwsem-spinlock.h:33: warning: no semicolon at end of struct or union include/linux/rwsem-spinlock.h:38: error: parse error before '}' token In file included from include/linux/sem.h:4, ~ from include/linux/sched.h:24, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/ipc.h:59: error: parse error before "spinlock_t" include/linux/ipc.h:59: warning: no semicolon at end of struct or union include/linux/ipc.h:69: error: parse error before '}' token In file included from include/linux/sched.h:24, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/sem.h:90: error: field `sem_perm' has incomplete type include/linux/sem.h:129: error: parse error before "spinlock_t" include/linux/ipc.h:59: warning: no semicolon at end of struct or union include/linux/ipc.h:69: error: parse error before '}' token In file included from include/linux/sched.h:24, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/sem.h:90: error: field `sem_perm' has incomplete type include/linux/sem.h:129: error: parse error before "spinlock_t" include/linux/sem.h:129: warning: no semicolon at end of struct or union include/linux/sem.h:131: error: parse error before '}' token In file included from include/linux/gfp.h:4, ~ from include/linux/slab.h:15, ~ from include/linux/percpu.h:4, ~ from include/linux/sched.h:31, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/mmzone.h:114: error: parse error before "spinlock_t" include/linux/mmzone.h:114: warning: no semicolon at end of struct or union include/linux/mmzone.h:215: error: parse error before '}' token include/linux/mmzone.h:254: error: field `node_zones' has incomplete type include/linux/mmzone.h: In function `next_zone': include/linux/mmzone.h:307: error: dereferencing pointer to incomplete type include/linux/mmzone.h:310: error: increment of pointer to unknown structure include/linux/mmzone.h:310: error: arithmetic on pointer to an incomplete type include/linux/mmzone.h: In function `is_highmem': include/linux/mmzone.h:355: error: dereferencing pointer to incomplete type include/linux/mmzone.h: In function `is_normal': include/linux/mmzone.h:360: error: dereferencing pointer to incomplete type In file included from include/linux/slab.h:15, ~ from include/linux/percpu.h:4, ~ from include/linux/sched.h:31, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/gfp.h: At top level: include/linux/gfp.h:124: error: 'free_pages' redeclared as different kind of symbol include/linux/mmzone.h:115: error: previous declaration of 'free_pages' was here In file included from include/linux/sched.h:102, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/timer.h:15: error: parse error before "spinlock_t" include/linux/timer.h:15: warning: no semicolon at end of struct or union include/linux/timer.h:22: error: parse error before '}' token include/linux/timer.h: In function `init_timer': include/linux/timer.h:44: error: dereferencing pointer to incomplete type include/linux/timer.h:45: error: dereferencing pointer to incomplete type include/linux/timer.h:46: warning: implicit declaration of function `spin_lock_init' include/linux/timer.h:46: error: dereferencing pointer to incomplete type include/linux/timer.h: In function `timer_pending': include/linux/timer.h:61: error: dereferencing pointer to incomplete type include/linux/timer.h: In function `add_timer': include/linux/timer.h:87: error: dereferencing pointer to incomplete type In file included from include/linux/aio.h:5, ~ from include/linux/sched.h:194, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/workqueue.h: At top level: include/linux/workqueue.h:20: error: field `timer' has incomplete type In file included from include/linux/sched.h:194, ~ from arch/x86_64/kernel/asm-offsets.c:7: include/linux/aio.h:122: error: parse error before "spinlock_t" include/linux/aio.h:122: warning: no semicolon at end of struct or union include/linux/aio.h:128: error: parse error before '}' token include/linux/aio.h:141: error: parse error before "spinlock_t" include/linux/aio.h:141: warning: no semicolon at end of struct or union include/linux/aio.h:152: error: parse error before '}' token In file included from arch/x86_64/kernel/asm-offsets.c:7: include/linux/sched.h:221: error: field `mmap_sem' has incomplete type include/linux/sched.h:254: error: field `default_kioctx' has incomplete type include/linux/sched.h:385: error: parse error before "spinlock_t" include/linux/sched.h:385: warning: no semicolon at end of struct or union include/linux/sched.h:400: error: parse error before '}' token include/linux/sched.h:530: error: field `real_timer' has incomplete type include/linux/sched.h:579: error: parse error before "spinlock_t" include/linux/sched.h:579: warning: no semicolon at end of struct or union include/linux/sched.h:581: warning: type defaults to `int' in declaration of `proc_lock' include/linux/sched.h:581: warning: data definition has no type or storage class include/linux/sched.h:583: error: parse error before "switch_lock" include/linux/sched.h:583: warning: type defaults to `int' in declaration of `switch_lock' include/linux/sched.h:583: warning: data definition has no type or storage class include/linux/sched.h:609: error: parse error before '}' token include/linux/sched.h: In function `process_group': include/linux/sched.h:613: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `dequeue_signal_lock': include/linux/sched.h:782: error: dereferencing pointer to incomplete type include/linux/sched.h:784: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `on_sig_stack': include/linux/sched.h:825: error: dereferencing pointer to incomplete type include/linux/sched.h:825: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `sas_ss_flags': include/linux/sched.h:830: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `capable': include/linux/sched.h:841: error: dereferencing pointer to incomplete type include/linux/sched.h:842: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `thread_group_empty': include/linux/sched.h:939: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `task_lock': include/linux/sched.h:960: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `task_unlock': include/linux/sched.h:965: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `set_tsk_thread_flag': include/linux/sched.h:973: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `clear_tsk_thread_flag': include/linux/sched.h:978: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `test_and_set_tsk_thread_flag': include/linux/sched.h:983: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `test_and_clear_tsk_thread_flag': include/linux/sched.h:988: error: dereferencing pointer to incomplete type include/linux/sched.h: In function `test_tsk_thread_flag': include/linux/sched.h:993: error: dereferencing pointer to incomplete type include/linux/sched.h: At top level: include/linux/sched.h:1034: error: parse error before '*' token include/linux/sched.h:1036: warning: function declaration isn't a prototype include/linux/sched.h: In function `cond_resched_lock': include/linux/sched.h:1038: error: `lock' undeclared (first use in this function) include/linux/sched.h:1038: error: (Each undeclared identifier is reported only once include/linux/sched.h:1038: error: for each function it appears in.) include/linux/sched.h: In function `arch_pick_mmap_layout': include/linux/sched.h:1087: error: dereferencing pointer to incomplete type include/linux/sched.h:1090: error: dereferencing pointer to incomplete type include/linux/sched.h:1091: error: dereferencing pointer to incomplete type In file included from include/linux/compat.h:15, ~ from include/asm/ia32.h:8, ~ from arch/x86_64/kernel/asm-offsets.c:15: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:196: error: dereferencing pointer to incomplete type arch/x86_64/kernel/asm-offsets.c: In function `main': arch/x86_64/kernel/asm-offsets.c:25: error: dereferencing pointer to incomplete type arch/x86_64/kernel/asm-offsets.c:26: error: dereferencing pointer to incomplete type arch/x86_64/kernel/asm-offsets.c:27: error: dereferencing pointer to incomplete type arch/x86_64/kernel/asm-offsets.c:28: error: dereferencing pointer to incomplete type arch/x86_64/kernel/asm-offsets.c: At top level: include/linux/aio.h:149: error: storage size of `ring_info' isn't known include/linux/sched.h:396: error: storage size of `it_timer' isn't known make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2 - -- All content of all messages exchanged herein are left in the Public Domain, unless otherwise explicitly stated. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBv9SihDd4aOud5P8RAkjmAKCKiKnuJpfpJCmHgpQPzAAgCaQsqgCeKuVp L9tf6V3C9jGJ4T9MDyjq/dc= =KY+J -----END PGP SIGNATURE-----