aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Huth <[email protected]>2025-03-19 10:30:57 +0000
committerIngo Molnar <[email protected]>2025-03-19 10:47:30 +0000
commit24a295e4ef1ca8e97d8b7015e1887b6e83e1c8be (patch)
treefc90ee8ce48f1a7809e50563ff1db1b27101100f /net/unix/af_unix.c
parentx86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UAPI headers (diff)
downloadkernel-24a295e4ef1ca8e97d8b7015e1887b6e83e1c8be.tar.gz
kernel-24a295e4ef1ca8e97d8b7015e1887b6e83e1c8be.zip
x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers
While the GCC and Clang compilers already define __ASSEMBLER__ automatically when compiling assembly code, __ASSEMBLY__ is a macro that only gets defined by the Makefiles in the kernel. This can be very confusing when switching between userspace and kernelspace coding, or when dealing with UAPI headers that rather should use __ASSEMBLER__ instead. So let's standardize on the __ASSEMBLER__ macro that is provided by the compilers now. This is mostly a mechanical patch (done with a simple "sed -i" statement), with some manual tweaks in <asm/frame.h>, <asm/hw_irq.h> and <asm/setup.h> that mentioned this macro in comments with some missing underscores. Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Juergen Gross <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Kees Cook <[email protected]> Cc: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions