From: Thomas Weißschuh Date: Tue, 30 Dec 2025 07:13:15 +0000 (+0100) Subject: types: drop definition of __EXPORTED_HEADERS__ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e896c44aecfb7b3470470b4e63495dfa2b359060;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Arnd Bergmann Signed-off-by: Andrew Morton --- diff --git a/include/linux/types.h b/include/linux/types.h index d4437e9c452c5..0cbb684eec5c3 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -2,7 +2,6 @@ #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H -#define __EXPORTED_HEADERS__ #include #ifndef __ASSEMBLY__