On Tue, Oct 16, 2012 at 08:41:42PM +0200, Thomas Gleixner wrote: > Dear RT Folks, > > I'm pleased to announce the 3.6.1-rt2 release. > > Changes since 3.6.1-rt1: > > * Picked up Pauls git friendly quilt queue > > * Compile fix for !RT_FULL (Paul Gortemaker) > > * Crypto init order fix > > * Tiny RCU fix which affects UP and is a long standing bug > affecting 3.2 and 3.4-rt as well. > > The delta patch against 3.6.1-rt1 is appended below and can be found here > > http://www.kernel.org/pub/linux/kernel/projects/rt/3.6/incr/patch-3.6.1-rt1-rt2.patch.xz > > The RT patch against 3.6.1 can be found here: > > http://www.kernel.org/pub/linux/kernel/projects/rt/3.6/patch-3.6.1-rt2.patch.xz > > The split quilt queue is available at: > > http://www.kernel.org/pub/linux/kernel/projects/rt/3.6/patches-3.6.1-rt2.tar.xz Just for grins, I tried this on an 8-CPU Power server, .config attached. I got a few build errors, shown below. 3.4.9-rt17, in contrast, builds, boots, and runs fine on this hardware (though admittedly on UP rather than SMP kernel build). Before chasing further, I thought I should ask if I have something brain-dead in my .config (attached). Thanx, Paul ------------------------------------------------------------------------ CC arch/powerpc/kernel/asm-offsets.s In file included from include/linux/spinlock.h:81, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/spinlock_types.h:12:38: error: linux/spinlock_types_raw.h: No such file or directory In file included from include/linux/spinlock_types.h:18, from include/linux/spinlock.h:81, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/rtmutex.h:29: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/rtmutex.h: In function 'rt_mutex_is_locked': include/linux/rtmutex.h:105: error: 'struct rt_mutex' has no member named 'owner' include/linux/spinlock_types.h:19:38: error: linux/spinlock_types_rt.h: No such file or directory include/linux/spinlock_types.h:20:36: error: linux/rwlock_types_rt.h: No such file or directory In file included from include/linux/spinlock.h:87, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h: At top level: /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:57: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:77: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:100: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:101: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:108: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:124: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:144: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:153: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:185: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:209: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:229: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:243: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:257: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:262: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:267: error: expected ')' before '*' token /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/spinlock.h:284: error: expected ')' before '*' token In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/spinlock.h:137: error: expected ')' before '*' token include/linux/spinlock.h:144: error: expected ')' before '*' token include/linux/spinlock.h:150: error: expected ')' before '*' token include/linux/spinlock.h:155: error: expected ')' before '*' token In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/spinlock.h:258:30: error: linux/rwlock_rt.h: No such file or directory In file included from include/linux/spinlock.h:267, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/spinlock_api_smp.h:22: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:23: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:26: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:28: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:29: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:32: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:35: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:37: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:38: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:39: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:40: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:41: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:43: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:86: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:149: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:156: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:165: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:173: error: expected ')' before '*' token include/linux/spinlock_api_smp.h:181: error: expected ')' before '*' token include/linux/spinlock.h:273:32: error: linux/spinlock_rt.h: No such file or directory In file included from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/seqlock.h:188: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/seqlock.h: In function 'read_seqbegin': include/linux/seqlock.h:233: error: implicit declaration of function 'spin_lock' include/linux/seqlock.h:233: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h:234: error: implicit declaration of function 'spin_unlock' include/linux/seqlock.h:234: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_seqlock': include/linux/seqlock.h:253: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_sequnlock': include/linux/seqlock.h:260: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_seqlock_bh': include/linux/seqlock.h:265: error: implicit declaration of function 'spin_lock_bh' include/linux/seqlock.h:265: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_sequnlock_bh': include/linux/seqlock.h:272: error: implicit declaration of function 'spin_unlock_bh' include/linux/seqlock.h:272: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_seqlock_irq': include/linux/seqlock.h:277: error: implicit declaration of function 'spin_lock_irq' include/linux/seqlock.h:277: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_sequnlock_irq': include/linux/seqlock.h:284: error: implicit declaration of function 'spin_unlock_irq' include/linux/seqlock.h:284: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function '__write_seqlock_irqsave': include/linux/seqlock.h:291: error: implicit declaration of function 'spin_lock_irqsave' include/linux/seqlock.h:291: error: 'seqlock_t' has no member named 'lock' include/linux/seqlock.h: In function 'write_sequnlock_irqrestore': include/linux/seqlock.h:303: error: implicit declaration of function 'spin_unlock_irqrestore' include/linux/seqlock.h:303: error: 'seqlock_t' has no member named 'lock' In file included from include/linux/mm_types.h:11, from include/linux/sched.h:64, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/rwsem.h:20:28: error: linux/rwsem_rt.h: No such file or directory In file included from include/linux/completion.h:11, from include/linux/mm_types.h:12, from include/linux/sched.h:64, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/wait.h: At top level: include/linux/wait.h:50: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/wait.h:79: warning: 'struct lock_class_key' declared inside parameter list include/linux/wait.h:79: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/wait.h: In function 'waitqueue_active': include/linux/wait.h:114: error: 'wait_queue_head_t' has no member named 'task_list' include/linux/wait.h: In function '__add_wait_queue': include/linux/wait.h:123: error: 'wait_queue_head_t' has no member named 'task_list' include/linux/wait.h: In function '__add_wait_queue_tail': include/linux/wait.h:139: error: 'wait_queue_head_t' has no member named 'task_list' In file included from include/linux/mm_types.h:12, from include/linux/sched.h:64, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/completion.h: In function 'init_completion': include/linux/completion.h:76: error: storage size of '__key' isn't known include/linux/completion.h:76: warning: unused variable '__key' In file included from include/linux/sched.h:64, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/mm_types.h: At top level: include/linux/mm_types.h:152: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/mm_types.h:339: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/mm_types.h: In function 'mm_cpumask': include/linux/mm_types.h:428: error: 'struct mm_struct' has no member named 'cpu_vm_mask_var' In file included from include/linux/sem.h:4, from include/linux/sched.h:72, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/ipc.h: At top level: include/linux/ipc.h:88: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/mmzone.h:369: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/mmzone.h: In function 'zone_set_flag': include/linux/mmzone.h:501: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_test_and_set_flag': include/linux/mmzone.h:506: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_clear_flag': include/linux/mmzone.h:511: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_reclaim_congested': include/linux/mmzone.h:516: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_reclaim_locked': include/linux/mmzone.h:521: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_oom_locked': include/linux/mmzone.h:526: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: At top level: include/linux/mmzone.h:700: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:730, from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/mutex.h:28:29: error: linux/mutex_rt.h: No such file or directory In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:730, from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/mutex.h:177: warning: 'struct mutex' declared inside parameter list In file included from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:730, from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/srcu.h:46: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:730, from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/notifier.h:57: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/notifier.h:62: error: field 'rwsem' has incomplete type include/linux/notifier.h:71: error: field 'mutex' has incomplete type In file included from include/linux/mmzone.h:730, from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/memory_hotplug.h: In function 'pgdat_resize_lock': include/linux/memory_hotplug.h:34: error: 'struct pglist_data' has no member named 'node_size_lock' include/linux/memory_hotplug.h: In function 'pgdat_resize_unlock': include/linux/memory_hotplug.h:39: error: 'struct pglist_data' has no member named 'node_size_lock' include/linux/memory_hotplug.h: In function 'pgdat_resize_init': include/linux/memory_hotplug.h:44: error: implicit declaration of function 'spin_lock_init' include/linux/memory_hotplug.h:44: error: 'struct pglist_data' has no member named 'node_size_lock' include/linux/memory_hotplug.h: In function 'zone_span_seqbegin': include/linux/memory_hotplug.h:51: error: 'struct zone' has no member named 'span_seqlock' include/linux/memory_hotplug.h: In function 'zone_span_seqretry': include/linux/memory_hotplug.h:55: error: 'struct zone' has no member named 'span_seqlock' include/linux/memory_hotplug.h: In function 'zone_span_writelock': include/linux/memory_hotplug.h:59: error: 'struct zone' has no member named 'span_seqlock' include/linux/memory_hotplug.h: In function 'zone_span_writeunlock': include/linux/memory_hotplug.h:63: error: 'struct zone' has no member named 'span_seqlock' include/linux/memory_hotplug.h: In function 'zone_seqlock_init': include/linux/memory_hotplug.h:67: error: 'struct zone' has no member named 'span_seqlock' include/linux/memory_hotplug.h:67: error: 'struct zone' has no member named 'span_seqlock' In file included from include/linux/topology.h:32, from include/linux/sched.h:78, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/mmzone.h: In function 'lruvec_zone': include/linux/mmzone.h:754: error: 'struct zone' has no member named 'lruvec' include/linux/mmzone.h:754: warning: type defaults to 'int' in declaration of '__mptr' include/linux/mmzone.h:754: warning: initialization from incompatible pointer type include/linux/mmzone.h:754: error: 'struct zone' has no member named 'lruvec' include/linux/mmzone.h: In function 'populated_zone': include/linux/mmzone.h:781: error: 'struct zone' has no member named 'present_pages' include/linux/mmzone.h: In function 'is_normal': HOSTCC scripts/dtc/util.o include/linux/mmzone.h:830: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: In function 'is_dma': include/linux/mmzone.h:845: error: 'struct zone' has no member named 'zone_pgdat' In file included from include/linux/proportions.h:12, from include/linux/sched.h:79, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:19: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/percpu_counter.h: In function 'percpu_counter_read': include/linux/percpu_counter.h:63: error: 'struct percpu_counter' has no member named 'count' include/linux/percpu_counter.h: In function 'percpu_counter_read_positive': include/linux/percpu_counter.h:73: error: 'struct percpu_counter' has no member named 'count' include/linux/percpu_counter.h: In function 'percpu_counter_initialized': include/linux/percpu_counter.h:83: error: 'struct percpu_counter' has no member named 'counters' In file included from include/linux/sched.h:79, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/proportions.h: At top level: include/linux/proportions.h:40: error: field 'mutex' has incomplete type include/linux/proportions.h:61: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/proportions.h:113: error: expected specifier-qualifier-list before 'raw_spinlock_t' In file included from include/linux/sched.h:89, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/hrtimer.h:186: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/hrtimer.h: In function 'hrtimer_is_hres_active': include/linux/hrtimer.h:284: error: 'struct hrtimer_cpu_base' has no member named 'hres_active' HOSTCC scripts/dtc/dtc-lexer.lex.o In file included from include/linux/cred.h:17, from include/linux/sched.h:92, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/key.h: At top level: include/linux/key.h:132: error: field 'sem' has incomplete type In file included from include/linux/sched.h:92, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/cred.h:87: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/irqdomain.h:36, from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/irq.h:12, from include/linux/irq.h:27, from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/hardirq.h:5, from include/linux/hardirq.h:7, from include/linux/sched.h:95, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/radix-tree.h:166: error: expected declaration specifiers or '...' before 'spinlock_t' In file included from include/linux/irq.h:359, from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/hardirq.h:5, from include/linux/hardirq.h:7, from include/linux/sched.h:95, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/irqdesc.h:56: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/irqdesc.h: In function '__irq_set_chip_handler_name_locked': include/linux/irqdesc.h:146: error: 'struct irq_desc' has no member named 'name' In file included from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/hardirq.h:5, from include/linux/hardirq.h:7, from include/linux/sched.h:95, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/irq.h: At top level: include/linux/irq.h:671: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/irq.h: In function 'irq_gc_lock': include/linux/irq.h:731: error: implicit declaration of function '_raw_spin_lock' include/linux/irq.h:731: error: 'struct irq_chip_generic' has no member named 'lock' include/linux/irq.h: In function 'irq_gc_unlock': include/linux/irq.h:736: error: implicit declaration of function '__raw_spin_unlock' include/linux/irq.h:736: error: 'struct irq_chip_generic' has no member named 'lock' In file included from arch/powerpc/kernel/asm-offsets.c:17: include/linux/sched.h: At top level: include/linux/sched.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tasklist_lock' include/linux/sched.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmlist_lock' In file included from include/linux/sched.h:390, from arch/powerpc/kernel/asm-offsets.c:17: include/linux/aio.h:168: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/aio.h: In function 'aio_ring_avail': include/linux/aio.h:179: error: 'struct aio_ring_info' has no member named 'nr' include/linux/aio.h:179: error: 'struct aio_ring_info' has no member named 'nr' include/linux/aio.h: At top level: include/linux/aio.h:193: error: expected specifier-qualifier-list before 'spinlock_t' In file included from arch/powerpc/kernel/asm-offsets.c:17: include/linux/sched.h:456: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/sched.h:525: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/sched.h:670: error: field 'group_rwsem' has incomplete type include/linux/sched.h:678: error: field 'cred_guard_mutex' has incomplete type include/linux/sched.h:773: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/sched.h:1448: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/sched.h: In function 'cur_pf_disabled': include/linux/sched.h:1635: error: 'struct task_struct' has no member named 'pagefault_disabled' include/linux/sched.h: In function 'put_task_struct': include/linux/sched.h:1819: error: 'struct task_struct' has no member named 'put_rcu' include/linux/sched.h: In function 'tsk_is_pi_blocked': include/linux/sched.h:2150: error: 'struct task_struct' has no member named 'pi_blocked_on' include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/sched.h:2270: error: 'struct sighand_struct' has no member named 'siglock' include/linux/sched.h:2272: error: 'struct sighand_struct' has no member named 'siglock' include/linux/sched.h: In function 'mmdrop_delayed': include/linux/sched.h:2365: error: 'struct mm_struct' has no member named 'delayed_drop' include/linux/sched.h: In function 'task_lock': include/linux/sched.h:2495: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'task_unlock': include/linux/sched.h:2500: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'unlock_task_sighand': include/linux/sched.h:2519: error: 'struct sighand_struct' has no member named 'siglock' include/linux/sched.h: In function 'threadgroup_change_begin': include/linux/sched.h:2525: error: implicit declaration of function 'down_read' include/linux/sched.h: In function 'threadgroup_change_end': include/linux/sched.h:2529: error: implicit declaration of function 'up_read' include/linux/sched.h: In function 'threadgroup_lock': include/linux/sched.h:2558: error: implicit declaration of function 'mutex_lock' include/linux/sched.h:2559: error: implicit declaration of function 'down_write' include/linux/sched.h: In function 'threadgroup_unlock': include/linux/sched.h:2570: error: implicit declaration of function 'up_write' include/linux/sched.h:2571: error: implicit declaration of function 'mutex_unlock' include/linux/sched.h: At top level: include/linux/sched.h:2713: error: expected ')' before '*' token include/linux/sched.h:2742: error: expected ')' before '*' token include/linux/sched.h: In function 'thread_group_cputime_init': include/linux/sched.h:2759: error: 'struct thread_group_cputimer' has no member named 'lock' include/linux/sched.h:2759: error: implicit declaration of function '__RAW_SPIN_LOCK_UNLOCKED' include/linux/sched.h:2759: error: 'struct thread_group_cputimer' has no member named 'lock' include/linux/sched.h: In function 'add_rchar': include/linux/sched.h:2851: error: 'struct task_struct' has no member named 'ioac' include/linux/sched.h: In function 'add_wchar': include/linux/sched.h:2856: error: 'struct task_struct' has no member named 'ioac' include/linux/sched.h: In function 'inc_syscr': include/linux/sched.h:2861: error: 'struct task_struct' has no member named 'ioac' include/linux/sched.h: In function 'inc_syscw': include/linux/sched.h:2866: error: 'struct task_struct' has no member named 'ioac' In file included from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/mman.h:35, from include/linux/mman.h:4, from arch/powerpc/kernel/asm-offsets.c:22: include/linux/mm.h: In function 'compound_head': include/linux/mm.h:359: error: 'struct page' has no member named 'first_page' HOSTCC scripts/dtc/dtc-parser.tab.o In file included from include/linux/mm.h:737, from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/mman.h:35, from include/linux/mman.h:4, from arch/powerpc/kernel/asm-offsets.c:22: include/linux/vmstat.h: In function 'zone_page_state_add': include/linux/vmstat.h:99: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h: In function 'zone_page_state': include/linux/vmstat.h:116: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h: In function 'zone_page_state_snapshot': include/linux/vmstat.h:133: error: 'struct zone' has no member named 'vm_stat' In file included from /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/mman.h:35, from include/linux/mman.h:4, from arch/powerpc/kernel/asm-offsets.c:22: include/linux/mm.h: In function 'get_mm_counter': include/linux/mm.h:1092: error: 'struct mm_struct' has no member named 'rss_stat' include/linux/mm.h: In function 'add_mm_counter': include/linux/mm.h:1107: error: 'struct mm_struct' has no member named 'rss_stat' include/linux/mm.h: In function 'inc_mm_counter': include/linux/mm.h:1112: error: 'struct mm_struct' has no member named 'rss_stat' include/linux/mm.h: In function 'dec_mm_counter': include/linux/mm.h:1117: error: 'struct mm_struct' has no member named 'rss_stat' include/linux/mm.h: In function 'get_mm_hiwater_rss': include/linux/mm.h:1128: error: 'struct mm_struct' has no member named 'hiwater_rss' include/linux/mm.h:1128: warning: type defaults to 'int' in declaration of '_max1' include/linux/mm.h:1128: error: 'struct mm_struct' has no member named 'hiwater_rss' include/linux/mm.h:1128: warning: comparison of distinct pointer types lacks a cast include/linux/mm.h: In function 'get_mm_hiwater_vm': include/linux/mm.h:1133: error: 'struct mm_struct' has no member named 'hiwater_vm' include/linux/mm.h:1133: warning: type defaults to 'int' in declaration of '_max1' include/linux/mm.h:1133: error: 'struct mm_struct' has no member named 'hiwater_vm' include/linux/mm.h:1133: error: 'struct mm_struct' has no member named 'total_vm' include/linux/mm.h:1133: warning: type defaults to 'int' in declaration of '_max2' include/linux/mm.h:1133: error: 'struct mm_struct' has no member named 'total_vm' include/linux/mm.h: In function 'update_hiwater_rss': include/linux/mm.h:1140: error: 'struct mm_struct' has no member named 'hiwater_rss' include/linux/mm.h:1141: error: 'struct mm_struct' has no member named 'hiwater_rss' include/linux/mm.h: In function 'update_hiwater_vm': include/linux/mm.h:1146: error: 'struct mm_struct' has no member named 'hiwater_vm' include/linux/mm.h:1146: error: 'struct mm_struct' has no member named 'total_vm' include/linux/mm.h:1147: error: 'struct mm_struct' has no member named 'hiwater_vm' include/linux/mm.h:1147: error: 'struct mm_struct' has no member named 'total_vm' include/linux/mm.h: At top level: include/linux/mm.h:1170: error: expected declaration specifiers or '...' before 'spinlock_t' include/linux/mm.h:1172: error: expected declaration specifiers or '...' before 'spinlock_t' include/linux/mm.h: In function 'get_locked_pte': include/linux/mm.h:1175: error: 'ptl' undeclared (first use in this function) include/linux/mm.h:1175: error: (Each undeclared identifier is reported only once include/linux/mm.h:1175: error: for each function it appears in.) include/linux/mm.h:1175: error: too many arguments to function '__get_locked_pte' In file included from include/linux/cgroup.h:18, from include/linux/memcontrol.h:22, from include/linux/swap.h:8, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/idr.h: At top level: include/linux/idr.h:64: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/memcontrol.h:22, from include/linux/swap.h:8, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/cgroup.h:211: error: field 'pidlist_mutex' has incomplete type include/linux/cgroup.h:218: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/cgroup.h:510: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/memcontrol.h:22, from include/linux/swap.h:8, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/cgroup.h: In function 'task_subsys_state': include/linux/cgroup.h:546: error: 'struct task_struct' has no member named 'cgroups' include/linux/cgroup.h:546: warning: type defaults to 'int' in declaration of '_________p1' include/linux/cgroup.h:546: error: 'struct task_struct' has no member named 'cgroups' include/linux/cgroup.h:546: error: 'struct task_struct' has no member named 'cgroups' include/linux/cgroup.h:546: error: 'struct task_struct' has no member named 'cgroups' include/linux/cgroup.h:546: warning: type defaults to 'int' in declaration of 'type name' include/linux/cgroup.h:546: warning: type defaults to 'int' in declaration of 'type name' include/linux/cgroup.h:546: error: 'struct task_struct' has no member named 'cgroups' include/linux/cgroup.h:546: warning: type defaults to 'int' in declaration of 'type name' include/linux/cgroup.h:546: warning: return from incompatible pointer type In file included from include/linux/swap.h:8, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/memcontrol.h: In function 'mem_cgroup_zone_lruvec': include/linux/memcontrol.h:242: error: 'struct zone' has no member named 'lruvec' include/linux/memcontrol.h: In function 'mem_cgroup_page_lruvec': include/linux/memcontrol.h:248: error: 'struct zone' has no member named 'lruvec' In file included from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/kobject.h: At top level: include/linux/kobject.h:161: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/kobject.h: In function 'to_kset': include/linux/kobject.h:175: error: 'struct kset' has no member named 'kobj' include/linux/kobject.h:175: warning: type defaults to 'int' in declaration of '__mptr' include/linux/kobject.h:175: warning: initialization from incompatible pointer type include/linux/kobject.h:175: error: 'struct kset' has no member named 'kobj' include/linux/kobject.h: In function 'kset_get': include/linux/kobject.h:180: error: 'struct kset' has no member named 'kobj' include/linux/kobject.h: In function 'kset_put': include/linux/kobject.h:185: error: 'struct kset' has no member named 'kobj' In file included from include/linux/device.h:18, from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/klist.h: At top level: include/linux/klist.h:21: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/device.h:24, from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/pm.h:496: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/pm.h:513: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/device.h:26, from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/ratelimit.h:11: error: expected specifier-qualifier-list before 'raw_spinlock_t' include/linux/ratelimit.h: In function 'ratelimit_state_init': include/linux/ratelimit.h:31: error: 'struct ratelimit_state' has no member named 'lock' include/linux/ratelimit.h:31: error: 'struct ratelimit_state' has no member named 'lock' include/linux/ratelimit.h:32: error: 'struct ratelimit_state' has no member named 'interval' include/linux/ratelimit.h:33: error: 'struct ratelimit_state' has no member named 'burst' include/linux/ratelimit.h:34: error: 'struct ratelimit_state' has no member named 'printed' include/linux/ratelimit.h:35: error: 'struct ratelimit_state' has no member named 'missed' include/linux/ratelimit.h:36: error: 'struct ratelimit_state' has no member named 'begin' In file included from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/device.h: At top level: include/linux/device.h:643: error: field 'mutex' has incomplete type include/linux/device.h:683: error: expected specifier-qualifier-list before 'spinlock_t' In file included from include/linux/device.h:700, from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/pm_wakeup.h:49: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/pm_wakeup.h: In function 'device_may_wakeup': include/linux/pm_wakeup.h:79: error: 'struct dev_pm_info' has no member named 'wakeup' In file included from include/linux/node.h:17, from include/linux/swap.h:10, from include/linux/suspend.h:4, from arch/powerpc/kernel/asm-offsets.c:24: include/linux/device.h: In function 'dev_to_psd': include/linux/device.h:735: error: 'struct dev_pm_info' has no member named 'subsys_data' include/linux/device.h: In function 'device_trylock': include/linux/device.h:782: error: implicit declaration of function 'mutex_trylock' In file included from arch/powerpc/kernel/asm-offsets.c:38: /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/rtas.h: At top level: /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/rtas.h:61: error: expected specifier-qualifier-list before 'arch_spinlock_t' /usr/local/autobench/var/tmp/build/arch/powerpc/include/asm/rtas.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rtas_data_buf_lock' arch/powerpc/kernel/asm-offsets.c: In function 'main': arch/powerpc/kernel/asm-offsets.c:73: error: 'struct mm_struct' has no member named 'context' make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 make: *** Waiting for unfinished jobs.... HOSTLD scripts/mod/modpost HOSTLD scripts/genksyms/genksyms HOSTLD scripts/dtc/dtc 10/18/2012-11:47:24 Build the kernel. Failed rc = 2 10/18/2012-11:47:24 build: Building kernel... Failed rc = 1