Loading
arm64: entry: Rework arm64_preempt_schedule_irq()
The generic entry code has the form:
| raw_irqentry_exit_cond_resched()
| {
| if (!preempt_count()) {
| ...
| if (need_resched())
| preempt_schedule_irq();
| }
| }
In preparation for moving arm64 over to the generic entry code, align
the structure of the arm64 code with raw_irqentry_exit_cond_resched() from
the generic entry code.
Reviewed-by:
Ada Couprie Diaz <ada.coupriediaz@arm.com>
Signed-off-by:
Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by:
Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by:
Will Deacon <will@kernel.org>