selftests: arm64: Move FPSIMD in SVE ptrace test into a function
authorMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 12:55:05 +0000 (13:55 +0100)
committerWill Deacon <will@kernel.org>
Wed, 29 Sep 2021 13:40:32 +0000 (14:40 +0100)
commit34785030dc069302be20b09f0f647ddb03203d72
tree9f15c9200c6b6a54608d3a5f1b03379218418c1c
parenta1d7111257cdfba87a18a630fd96a44ba69c3d9c
selftests: arm64: Move FPSIMD in SVE ptrace test into a function

Now that all the other tests are in functions rather than inline in the
main parent process function also move the test for accessing the FPSIMD
registers via the SVE regset out into their own function.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210913125505.52619-9-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/sve-ptrace.c