Commit 3c973c51 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Will Deacon
Browse files

entry: Add arch_irqentry_exit_need_resched() for arm64



Compared to the generic entry code, ARM64 does additional checks
when deciding to reschedule on return from interrupt. So introduce
arch_irqentry_exit_need_resched() in the need_resched()
condition of the generic raw_irqentry_exit_cond_resched(), with
a NOP default. This will allow ARM64 to implement the architecture
specific version for switching over to the generic entry code.

Suggested-by: default avatarAda Couprie Diaz <ada.coupriediaz@arm.com>
Suggested-by: default avatarMark Rutland <mark.rutland@arm.com>
Suggested-by: default avatarKevin Brodsky <kevin.brodsky@arm.com>
Suggested-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent c74c44c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment