• Harvey Harrison's avatar
    sched: fix signedness warnings in sched.c · 67ca7bde
    Harvey Harrison authored
    Unsigned long values are always assigned to switch_count,
    make it unsigned long.
    
    kernel/sched.c:3897:15: warning: incorrect type in assignment (different signedness)
    kernel/sched.c:3897:15:    expected long *switch_count
    kernel/sched.c:3897:15:    got unsigned long *<noident>
    kernel/sched.c:3921:16: warning: incorrect type in assignment (different signedness)
    kernel/sched.c:3921:16:    expected long *switch_count
    kernel/sched.c:3921:16:    got unsigned long *<noident>
    Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    67ca7bde
sched.c 200 KB