summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-06-11 13:40:56 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2025-07-06 12:50:50 +0200
commit7164aacfcea221e66c41ae02712a549a59892cff (patch)
tree19538cdb278c90bbc38997bce49ea7c6f653d389 /scripts/lib
parent16eea8d2d3c1d325b3b5f25c1e073874082aac74 (diff)
m68k: 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 almost a completely mechanical patch (done with a simple "sed -i" statement), with one comment tweaked manually in arch/m68k/include/asm/mac_baboon.h (which was missing underscores). Signed-off-by: Thomas Huth <thuth@redhat.com> Acked-by: Greg Ungerer <gerg@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/20250611114056.118309-3-thuth@redhat.com Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions