• Ingo Molnar's avatar
    timers: fix itimer/many thread hang, fix #2 · 0a8eaa4f
    Ingo Molnar authored
    fix the UP build:
    
    In file included from arch/x86/kernel/asm-offsets_32.c:9,
                     from arch/x86/kernel/asm-offsets.c:3:
    include/linux/sched.h: In function ‘thread_group_cputime_clone_thread’:
    include/linux/sched.h:2272: warning: no return statement in function returning non-void
    include/linux/sched.h: In function ‘thread_group_cputime_account_user’:
    include/linux/sched.h:2284: error: invalid type argument of ‘->’ (have ‘struct task_cputime’)
    include/linux/sched.h:2284: error: invalid type argument of ‘->’ (have ‘struct task_cputime’)
    include/linux/sched.h: In function ‘thread_group_cputime_account_system’:
    include/linux/sched.h:2291: error: invalid type argument of ‘->’ (have ‘struct task_cputime’)
    include/linux/sched.h:2291: error: invalid type argument of ‘->’ (have ‘struct task_cputime’)
    include/linux/sched.h: In function ‘thread_group_cputime_account_exec_runtime’:
    include/linux/sched.h:2298: error: invalid type argument of ‘->’ (have ‘struct task_cputime’)
    distcc[14501] ERROR: compile arch/x86/kernel/asm-offsets.c on a/30 failed
    make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    0a8eaa4f
sched.h 70.6 KB