]> git.baikalelectronics.ru Git - kernel.git/commit
sched: mark print_cfs_stats static
authorJosh Triplett <josh@kernel.org>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
commit2432040c96edb78b1bcb8051c1fa84c709d7c9ca
tree0c45edfb75caa16f5d75d47b71d9c3fcf321fcec
parentf2c8c5d8e5139fa09d4e04017e6f11114d2d7267
sched: mark print_cfs_stats static

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: Josh Triplett <josh@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c