kselftest/arm64: Remove local definitions of MTE prctls
authorMark Brown <broonie@kernel.org>
Wed, 26 Jan 2022 17:44:21 +0000 (17:44 +0000)
committerWill Deacon <will@kernel.org>
Tue, 15 Feb 2022 15:59:20 +0000 (15:59 +0000)
commit396520759bd3bf4a557e4edba9a63afc13cc5773
tree1e9aaf98bcc6b5e2082046ca850305fbfa2e667c
parent3673d4b9cf68164678c6bb8a380bfb9eebb49432
kselftest/arm64: Remove local definitions of MTE prctls

The GCR EL1 test unconditionally includes local definitions of the prctls
it tests. Since not only will the kselftest build infrastructure ensure
that the in tree uapi headers are available but the toolchain being used to
build kselftest may ensure that system uapi headers with MTE support are
available this causes the compiler to warn about duplicate definitions.
Remove these duplicate definitions.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220126174421.1712795-1-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c