diff options
author | Will Deacon <will@kernel.org> | 2020-12-01 12:24:16 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-12-01 12:24:16 +0100 |
commit | eec3bf6861a8703ab63992578b1776353c5ac2a1 (patch) | |
tree | d89197f1f047606254ec29cb061ee975798b546f /net/ceph/auth.c | |
parent | arm64: scs: use vmapped IRQ and SDEI shadow stacks (diff) | |
download | linux-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 'net/ceph/auth.c')
0 files changed, 0 insertions, 0 deletions