]> git.baikalelectronics.ru Git - kernel.git/commit
sched/headers: Move the PREEMPT_COUNT defines from <linux/sched.h> to <linux/preempt.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 21:07:57 +0000 (22:07 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:47 +0000 (01:43 +0100)
commit51ffa258ee96e53cb208706e3bd2a46f9c825784
treedbc70de4f29558e567a2efe1affa2c131cf1fb32
parent209e210ec3f557acaa4218e0d7e8333dee5f3788
sched/headers: Move the PREEMPT_COUNT defines from <linux/sched.h> to <linux/preempt.h>

These defines are not really part of the scheduler's driver API, but are
related to the preempt count - so move them to <linux/preempt.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/preempt.h
include/linux/sched.h