sched/headers: Move cputime functionality from <linux/sched.h> and <linux/cputime...
authorIngo Molnar <[email protected]>
Sun, 5 Feb 2017 10:48:36 +0000 (11:48 +0100)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/cputime.h [deleted file]
include/linux/sched.h
include/linux/sched/cputime.h
include/linux/sched/signal.h
kernel/sched/stats.h