arm64: entry: Save some nops when CONFIG_ARM64_PSEUDO_NMI is not set
authorHe Ying <heying24@huawei.com>
Wed, 12 Jan 2022 03:24:10 +0000 (22:24 -0500)
committerWill Deacon <will@kernel.org>
Tue, 15 Feb 2022 15:15:06 +0000 (15:15 +0000)
commit3352a5556f52bb49b82c0258c0c67f7371ba1f80
treee38d7c0f6579e1b8c36511bfb567f49893942243
parentdfd42facf1e4ada021b939b4e19c935dcdd55566
arm64: entry: Save some nops when CONFIG_ARM64_PSEUDO_NMI is not set

Arm64 pseudo-NMI feature code brings some additional nops
when CONFIG_ARM64_PSEUDO_NMI is not set, which is not
necessary. So add necessary ifdeffery to avoid it.

Signed-off-by: He Ying <heying24@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220112032410.29231-1-heying24@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/entry.S