]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Wed, 11 Jun 2025 11:40:55 +0000 (13:40 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 6 Jul 2025 10:50:50 +0000 (12:50 +0200)
commit16eea8d2d3c1d325b3b5f25c1e073874082aac74
tree05572b69fc3f31ea78828ef1df6f0b781d848c93
parent4fbdd56edf1f0b3e338c90a011bbae1a677ac884
m68k: 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.

This is a completely mechanical patch (done with a simple "sed -i"
statement).

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-2-thuth@redhat.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/uapi/asm/bootinfo-vme.h
arch/m68k/include/uapi/asm/bootinfo.h
arch/m68k/include/uapi/asm/ptrace.h