sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h
authorSrikar Dronamraju <[email protected]>
Thu, 25 Jun 2015 17:21:41 +0000 (22:51 +0530)
committerIngo Molnar <[email protected]>
Sat, 4 Jul 2015 08:04:31 +0000 (10:04 +0200)
commit6b55c9654fccf69ae7ace23ca101dc37b903181b
tree4f7586ad44a93b402d52e27b573eca52d6a62d32
parent5968cecedd7a09f23e9fcb5f9fb4e893712f35ba
sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h

Currently print_cfs_rq() is declared in include/linux/sched.h.
However it's not used outside kernel/sched. Hence move the
declaration to kernel/sched/sched.h

Also some functions are only available for CONFIG_SCHED_DEBUG=y.
Hence move the declarations to within the #ifdef.

Signed-off-by: Srikar Dronamraju <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Iulia Manda <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/sched.h
kernel/sched/sched.h