]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Thu, 25 Jun 2015 17:21:41 +0000 (22:51 +0530)
committerIngo Molnar <mingo@kernel.org>
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 <srikar@linux.vnet.ibm.com>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Iulia Manda <iulia.manda21@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1435252903-1081-2-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/sched.h