]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac7fa4a21f11e3018241afc29eaa1331731476c2
treee38d7c0f6579e1b8c36511bfb567f49893942243
parentcdcfc33f146631371044f576fc7b64d7e71508a3
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