[PATCH v2 1/2] preempt: Move PREEMPT_NEED_RESCHED definition into arch code

2018-11-30 Thread Will Deacon
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 Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Martin Schwidefsky Signed-off-by:

[PATCH v2 1/2] preempt: Move PREEMPT_NEED_RESCHED definition into arch code

2018-11-30 Thread Will Deacon
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 Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Martin Schwidefsky Signed-off-by: