tools include: Add some common function attributes
authorMark Brown <broonie@kernel.org>
Thu, 27 Jul 2023 23:26:14 +0000 (00:26 +0100)
committerWill Deacon <will@kernel.org>
Fri, 4 Aug 2023 16:36:52 +0000 (17:36 +0100)
commit51e6ac1fa45160d400321fa06d7808b30d9d453c
tree654a8201b09e11cc934d884f0c5f66938cf63446
parente5d51a6650211baf38daa894d06c47748978e141
tools include: Add some common function attributes

We don't have definitions of __always_unused or __noreturn in the tools
version of compiler.h, add them so we can use them in kselftests.

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