diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-04-02 21:21:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-06 12:55:31 -0700 |
commit | 0efdedb3358aa78102967f242379686f94315830 (patch) | |
tree | 0767ebbe054752e0662d13aa8dca99594d107230 /net/lapb/lapb_timer.c | |
parent | 710329254dc303cd3b2df1a24674adecb1189385 (diff) | |
download | lwn-0efdedb3358aa78102967f242379686f94315830.tar.gz lwn-0efdedb3358aa78102967f242379686f94315830.zip |
tools/include: make uapi/linux/types.h usable from assembly
The "real" linux/types.h UAPI header gracefully degrades to a NOOP when
included from assembly code.
Mirror this behaviour in the tools/ variant.
Test for __ASSEMBLER__ over __ASSEMBLY__ as the former is provided by the
toolchain automatically.
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/lkml/af553c62-ca2f-4956-932c-dd6e3a126f58@sirena.org.uk/
Fixes: c9fbaa879508 ("selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20250321-uapi-consistency-v1-1-439070118dc0@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions