]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/nolibc: Add _NOLIBC_OPTIMIZER_HIDE_VAR() to compiler.h
authorDavid Laight <david.laight.linux@gmail.com>
Sun, 8 Mar 2026 11:37:26 +0000 (11:37 +0000)
committerThomas Weißschuh <linux@weissschuh.net>
Fri, 20 Mar 2026 16:46:06 +0000 (17:46 +0100)
commit6702425cd50ebb9a71d6b441df4b0df4f58d160a
tree138ade8dbc6bde1f1540d8cdc035db095b820d4f
parentcf3470882435c82742ab869d4e2d414de55e7e59
tools/nolibc: Add _NOLIBC_OPTIMIZER_HIDE_VAR() to compiler.h

Needed to stop compiler 'optimisations' bloating code.
Equivalent to the definition in include/linux/compiler.h

Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260308113742.12649-2-david.laight.linux@gmail.com
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/compiler.h