diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2025-08-15 11:06:31 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-09-11 15:55:34 +0100 |
commit | 64f4b8b15f1c3c9a4e416fc5b5b4dc354b78e75e (patch) | |
tree | 9107895c5228317c218933bf0c60a183d3f27844 /lib/mpi/mpi-mod.c | |
parent | 3c973c51bfbaf356367afa46b94f9100a7d672f2 (diff) |
arm64: entry: Refactor preempt_schedule_irq() check code
To align the structure of the code with irqentry_exit_cond_resched()
from the generic entry code, hoist the need_irq_preemption()
and IS_ENABLED() check earlier. And different preemption check functions
are defined based on whether dynamic preemption is enabled.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Ada Couprie Diaz <ada.coupriediaz@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions