Skip to content
Commit df07443f authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

arm64/signal: Clean up SVE/SME feature checking inconsistency



Currently when restoring signal state we check to see if SVE is supported
in restore_sigframe() but check to see if SVE is supported inside
restore_sve_fpsimd_context(). This makes no real difference since SVE is
always supported in systems with SME but looks a bit untidy and makes
things slightly harder to follow, move the SVE check next to the SME one
in restore_sve_fpsimd_context().

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220624172108.555000-1-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent d69d5649
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment