• Josh Triplett's avatar
    sched: mark print_cfs_stats static · 291ae5a1
    Josh Triplett authored
    sched_fair.c defines print_cfs_stats, and sched_debug.c uses it, but sched.c
    includes both sched_fair.c and sched_debug.c, so all the references to
    print_cfs_stats occur in the same compilation unit.  Thus, mark
    print_cfs_stats static.
    
    Eliminates a sparse warning:
    warning: symbol 'print_cfs_stats' was not declared. Should it be static?
    Signed-off-by: default avatarJosh Triplett <josh@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    291ae5a1
sched_fair.c 27.4 KB