]> git.baikalelectronics.ru Git - kernel.git/commit
sched/headers: Move CONFIG_TASK_XACCT bits from <linux/sched.h> to <linux/sched/xacct.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 18:10:05 +0000 (19:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:41 +0000 (01:43 +0100)
commit1f009d50562b9a710d5cbd93623dc4850023a261
treecec1928744c2462b7af6b89fa2fca8e70cc5d646
parent8bb2412073252465284d288a43d4ad3020f58160
sched/headers: Move CONFIG_TASK_XACCT bits from <linux/sched.h> to <linux/sched/xacct.h>

The CONFIG_TASK_XACCT=y accounting inline functions are only used by
fs/read_write.c, so move them into their separate header.

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/xacct.h