From: Srikar Dronamraju Date: Thu, 25 Jun 2015 17:21:41 +0000 (+0530) Subject: sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h X-Git-Tag: omap-for-v4.2/fixes-rc1^2~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b55c9654fccf69ae7ace23ca101dc37b903181b;p=pandora-kernel.git 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 Acked-by: Rik van Riel Cc: Iulia Manda Cc: Linus Torvalds Cc: Mel Gorman Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1435252903-1081-2-git-send-email-srikar@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed