tools compiler.h: Add OPTIMIZER_HIDE_VAR()
authorMark Brown <broonie@kernel.org>
Thu, 27 Jul 2023 23:26:13 +0000 (00:26 +0100)
committerWill Deacon <will@kernel.org>
Fri, 4 Aug 2023 16:36:52 +0000 (17:36 +0100)
commite5d51a6650211baf38daa894d06c47748978e141
tree1e4e5f6f6a7c2062a2f2dac2183b6c9b897c1113
parentd6da04b6fbabf4b464bfe29e34ff10c62024d1e4
tools compiler.h: Add OPTIMIZER_HIDE_VAR()

Port over the definition of OPTIMIZER_HIDE_VAR() so we can use it in
kselftests.

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