]> git.baikalelectronics.ru Git - kernel.git/commit
sched/headers, delayacct: Move the 'struct task_delay_info' definition from <linux...
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 17:00:26 +0000 (18:00 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:42 +0000 (08:42 +0100)
commit2d250a4bbe11f994a413258df3addfd2d9eadd77
tree8ac85a83398a402fe29b878de87a5734d559cdc0
parent9af7caaa2ba9fecedfcd5e4e053e7314b4c33435
sched/headers, delayacct: Move the 'struct task_delay_info' definition from <linux/sched.h> to <linux/delayacct.h>

The 'struct task_delay_info' definition does not have to be in sched.h,
because task_struct only has a pointer to it.

So move it to <linux/delayacct.h> to reduce the size of <linux/sched.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/delayacct.h
include/linux/sched.h