summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-12-01 11:24:16 +0000
committerWill Deacon <will@kernel.org>2020-12-01 11:24:16 +0000
commiteec3bf6861a8703ab63992578b1776353c5ac2a1 (patch)
treed89197f1f047606254ec29cb061ee975798b546f /arch/arm64/mm
parentac20ffbb0279aae7be48567fb734eae7d050769e (diff)
downloadlinux-eec3bf6861a8703ab63992578b1776353c5ac2a1.tar.bz2
arm64: sdei: Push IS_ENABLED() checks down to callee functions
Handling all combinations of the VMAP_STACK and SHADOW_CALL_STACK options in sdei_arch_get_entry_point() makes the code difficult to read, particularly when considering the error and cleanup paths. Move the checking of these options into the callee functions, so that they return early if the relevant option is not enabled. Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions