]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UAPI headers
authorThomas Huth <thuth@redhat.com>
Mon, 10 Mar 2025 10:42:56 +0000 (11:42 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:30:53 +0000 (11:30 +0100)
commit8a141be3233af7d4f7014ebc44d5452d46b2b1be
tree53d5226bc3b296d57d14385fc1d8ac6ed939de68
parentfaa6f77b0dfae95b7270084bb2cc7fe30d687761
x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UAPI headers

__ASSEMBLY__ is only defined by the Makefile of the kernel, so
this is not really useful for UAPI headers (unless the userspace
Makefile defines it, too). Let's switch to __ASSEMBLER__ which
gets set automatically by the compiler when compiling assembly
code.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Brian Gerst <brgerst@gmail.com>
Link: https://lore.kernel.org/r/20250310104256.123527-1-thuth@redhat.com
arch/x86/include/uapi/asm/bootparam.h
arch/x86/include/uapi/asm/e820.h
arch/x86/include/uapi/asm/ldt.h
arch/x86/include/uapi/asm/msr.h
arch/x86/include/uapi/asm/ptrace-abi.h
arch/x86/include/uapi/asm/ptrace.h
arch/x86/include/uapi/asm/setup_data.h
arch/x86/include/uapi/asm/signal.h