sched/headers: Move debugging functions from <linux/sched.h> to <linux/sched/debug.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 10:16:09 +0000 (11:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:43 +0000 (01:43 +0100)
commitd3d1e320d43a7bad9603acf0214406a1e8795c63
tree564419d5d700b0da73c16a336dd9e5e2e1ff50a1
parent752b3ca734cbc17c0456b846ae886c0ed39c5703
sched/headers: Move debugging functions from <linux/sched.h> to <linux/sched/debug.h>

Collect the various scheduler and task state debugging APIs scattered
around <linux/sched.h> into the new <linux/sched/debug.h> header.

In particular the show_regs() and show_stack() prototype affects many files,
update them.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
include/linux/sched/debug.h