]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
types: drop definition of __EXPORTED_HEADERS__
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 30 Dec 2025 07:13:15 +0000 (08:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Jan 2026 03:07:10 +0000 (19:07 -0800)
commite896c44aecfb7b3470470b4e63495dfa2b359060
tree2e3e82ab4bbbff7c0d32e8a3940d096e856e6791
parent998be0a4dbcaa796a05c7b52327f3a09c29d3662
types: drop definition of __EXPORTED_HEADERS__

This definition disarms the warning in uapi/linux/types.h about including
kernel headers from user space.  However the warning is already disarmed
due to the fact that kernel code is built with -D__KERNEL__.

Drop the pointless definition.

Link: https://lkml.kernel.org/r/20251230-exported-headers-types-h-v1-1-947fc606f3d8@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/types.h