summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-12-01 12:24:16 +0100
committerWill Deacon <will@kernel.org>2020-12-01 12:24:16 +0100
commiteec3bf6861a8703ab63992578b1776353c5ac2a1 (patch)
treed89197f1f047606254ec29cb061ee975798b546f /crypto
parentarm64: scs: use vmapped IRQ and SDEI shadow stacks (diff)
downloadlinux-eec3bf6861a8703ab63992578b1776353c5ac2a1.tar.xz
linux-eec3bf6861a8703ab63992578b1776353c5ac2a1.zip
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 'crypto')
0 files changed, 0 insertions, 0 deletions