sched/headers: Move cputime functionality from <linux/sched.h> and <linux/cputime...
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 10:48:36 +0000 (11:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:22 +0000 (01:45 +0100)
commit1050b27c52f615bc0e772b3119881e5304ccde6b
tree9c405a8476785b37476af3ab533eff5e3086a63a
parent56cd697366b6d6f67acb6c58ac7f3b185d11ef07
sched/headers: Move cputime functionality from <linux/sched.h> and <linux/cputime.h> into <linux/sched/cputime.h>

Move cputime related functionality out of <linux/sched.h>, as most code
that includes <linux/sched.h> does not use that functionality.

Move data types that are not included in task_struct directly to
the signal definitions, into <linux/sched/signal.h>.

Also merge the (small) existing <linux/cputime.h> header into <linux/sched/cputime.h>.

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/cputime.h [deleted file]
include/linux/sched.h
include/linux/sched/cputime.h
include/linux/sched/signal.h
kernel/sched/stats.h