kselftest/arm64: Use shared OPTIMZER_HIDE_VAR() definiton
authorMark Brown <broonie@kernel.org>
Thu, 27 Jul 2023 23:26:16 +0000 (00:26 +0100)
committerWill Deacon <will@kernel.org>
Fri, 4 Aug 2023 16:36:52 +0000 (17:36 +0100)
commitdb7a89f706d6080121b61099b1d69a752ce0c61e
tree63c9372a142f45456b0e5a30ebf8714f6c292486
parent35d7bc983a74db7067d874be2708a7d3bc269f13
kselftest/arm64: Use shared OPTIMZER_HIDE_VAR() definiton

We had open coded the definition of OPTIMIZER_HIDE_VAR() as a fix but now
that we have the generic tools/include available and that has had a
definition of OPTIMIZER_HIDE_VAR() we can switch to the define.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230728-arm64-signal-memcpy-fix-v4-5-0c1290db5d46@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/signal/test_signals_utils.h