diff options
author | Will Deacon <will.deacon@arm.com> | 2018-09-19 14:39:26 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-07 13:35:46 +0100 |
commit | 08861d33d680838753f1f9d3ba9480d3651b764d (patch) | |
tree | d4adfa8fdb8410eabebe2e9ba273134653a178a4 /include | |
parent | arm64: hugetlb: Register hugepages during arch init (diff) | |
download | linux-08861d33d680838753f1f9d3ba9480d3651b764d.tar.xz linux-08861d33d680838753f1f9d3ba9480d3651b764d.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/preempt.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h index c01813c3fbe9..dd92b1a93919 100644 --- a/include/linux/preempt.h +++ b/include/linux/preempt.h @@ -53,9 +53,6 @@ #define SOFTIRQ_DISABLE_OFFSET (2 * SOFTIRQ_OFFSET) -/* We use the MSB mostly because its available */ -#define PREEMPT_NEED_RESCHED 0x80000000 - #define PREEMPT_DISABLED (PREEMPT_DISABLE_OFFSET + PREEMPT_ENABLED) /* |