microblaze: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers next
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:49 +0000 (08:09 +0100)
committerMichal Simek <michal.simek@amd.com>
Tue, 10 Jun 2025 13:17:59 +0000 (15:17 +0200)
commitc0e7bb02f7962cd4b2327196aa1b0f9568c783e4
treed8d4fc352437b9568340149b08d6e19818897cc4
parentffe0b1a79a4ff3dc5aafcc554fcb507a59a8c376
microblaze: 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 a completely mechanical patch (done with a simple "sed -i"
statement).

Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20250314071013.1575167-19-thuth@redhat.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
17 files changed:
arch/microblaze/include/asm/asm-compat.h
arch/microblaze/include/asm/current.h
arch/microblaze/include/asm/entry.h
arch/microblaze/include/asm/exceptions.h
arch/microblaze/include/asm/fixmap.h
arch/microblaze/include/asm/ftrace.h
arch/microblaze/include/asm/kgdb.h
arch/microblaze/include/asm/mmu.h
arch/microblaze/include/asm/page.h
arch/microblaze/include/asm/pgtable.h
arch/microblaze/include/asm/processor.h
arch/microblaze/include/asm/ptrace.h
arch/microblaze/include/asm/sections.h
arch/microblaze/include/asm/setup.h
arch/microblaze/include/asm/thread_info.h
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/asm/xilinx_mb_manager.h