https://github.com/torvalds/linux
Revision 6b55c9654fccf69ae7ace23ca101dc37b903181b authored by Srikar Dronamraju on 25 June 2015, 17:21:41 UTC, committed by Ingo Molnar on 04 July 2015, 08:04:31 UTC
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>
1 parent 5968cec
History
Tip revision: 6b55c9654fccf69ae7ace23ca101dc37b903181b authored by Srikar Dronamraju on 25 June 2015, 17:21:41 UTC
sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h
Tip revision: 6b55c96
File Mode Size
agp
hw_random
ipmi
mwave
pcmcia
tpm
xilinx_hwicap
xillybus
Kconfig -rw-r--r-- 20.8 KB
Makefile -rw-r--r-- 1.8 KB
apm-emulation.c -rw-r--r-- 17.6 KB
applicom.c -rw-r--r-- 23.9 KB
applicom.h -rw-r--r-- 2.5 KB
bfin-otp.c -rw-r--r-- 5.9 KB
bsr.c -rw-r--r-- 8.9 KB
ds1302.c -rw-r--r-- 7.5 KB
ds1620.c -rw-r--r-- 8.7 KB
dsp56k.c -rw-r--r-- 12.2 KB
dtlk.c -rw-r--r-- 16.3 KB
efirtc.c -rw-r--r-- 9.4 KB
generic_nvram.c -rw-r--r-- 3.4 KB
genrtc.c -rw-r--r-- 12.8 KB
hangcheck-timer.c -rw-r--r-- 5.7 KB
hpet.c -rw-r--r-- 24.6 KB
i8k.c -rw-r--r-- 23.4 KB
lp.c -rw-r--r-- 26.3 KB
mbcs.c -rw-r--r-- 19.8 KB
mbcs.h -rw-r--r-- 13.4 KB
mem.c -rw-r--r-- 18.4 KB
misc.c -rw-r--r-- 7.0 KB
mmtimer.c -rw-r--r-- 20.9 KB
msm_smd_pkt.c -rw-r--r-- 10.6 KB
mspec.c -rw-r--r-- 10.7 KB
nsc_gpio.c -rw-r--r-- 3.5 KB
nvram.c -rw-r--r-- 17.1 KB
nwbutton.c -rw-r--r-- 7.9 KB
nwbutton.h -rw-r--r-- 1.1 KB
nwflash.c -rw-r--r-- 13.1 KB
pc8736x_gpio.c -rw-r--r-- 8.8 KB
ppdev.c -rw-r--r-- 19.1 KB
ps3flash.c -rw-r--r-- 10.7 KB
random.c -rw-r--r-- 53.2 KB
raw.c -rw-r--r-- 8.3 KB
rtc.c -rw-r--r-- 33.5 KB
scx200_gpio.c -rw-r--r-- 3.1 KB
snsc.c -rw-r--r-- 10.9 KB
snsc.h -rw-r--r-- 2.8 KB
snsc_event.c -rw-r--r-- 7.2 KB
sonypi.c -rw-r--r-- 41.0 KB
tb0219.c -rw-r--r-- 7.8 KB
tile-srom.c -rw-r--r-- 11.6 KB
tlclk.c -rw-r--r-- 23.4 KB
toshiba.c -rw-r--r-- 13.2 KB
ttyprintk.c -rw-r--r-- 5.2 KB
uv_mmtimer.c -rw-r--r-- 5.5 KB
virtio_console.c -rw-r--r-- 56.2 KB

back to top