]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sysreg: Guard SYS_FIELD_ macros for asm
authorMark Brown <broonie@kernel.org>
Thu, 18 Aug 2022 21:36:12 +0000 (22:36 +0100)
committerWill Deacon <will@kernel.org>
Tue, 23 Aug 2022 10:26:00 +0000 (11:26 +0100)
commit8317e6993bafcdc992cf666f7bab2e724a1e9cb6
tree0260493300e646981eba0a45c6bb041cbb67ee45
parent4b045f0a5a9bda2d31082aa7f92272d5d5425237
arm64/sysreg: Guard SYS_FIELD_ macros for asm

The SYS_FIELD_ macros are not safe for assembly contexts, move them inside
the guarded section.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220818213613.733091-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/sysreg.h