]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
preempt: Move PREEMPT_NEED_RESCHED definition into arch code
authorWill Deacon <will.deacon@arm.com>
Wed, 19 Sep 2018 12:39:26 +0000 (13:39 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 7 Dec 2018 12:35:46 +0000 (12:35 +0000)
commit08861d33d680838753f1f9d3ba9480d3651b764d
treed4adfa8fdb8410eabebe2e9ba273134653a178a4
parenta21b0b78eaf770c6c3814dd59d213cd6aa47eecd
preempt: Move PREEMPT_NEED_RESCHED definition into arch code

PREEMPT_NEED_RESCHED is never used directly, so move it into the arch
code where it can potentially be implemented using either a different
bit in the preempt count or as an entirely separate entity.

Cc: Robert Love <rml@tech9.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/s390/include/asm/preempt.h
arch/x86/include/asm/preempt.h
include/linux/preempt.h