]> git.karo-electronics.de Git - karo-tx-linux.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)
commitd04b0ad37e4b6ac39a56c823ae76ab37cd044dc7
treedbc70de4f29558e567a2efe1affa2c131cf1fb32
parentc7af7877eeacfeaaf6a1b6f54c481292ef116837
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