]> www.infradead.org Git - users/jedix/linux-maple.git/commit
parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:56 +0000 (08:09 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 4 May 2025 18:46:27 +0000 (20:46 +0200)
commitcccaea1d66e94bd42170c9372964a2ce62418fb1
tree3edee75adc6b62b82151c909127ce5f3d56219fb
parente2b6a188625a2bbc83d4e6c76b59cb2e34353843
parisc: 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 completely mechanical patch (done with a simple
"sed -i" statement), except for some manual tweaks in the files
arch/parisc/include/asm/smp.h, arch/parisc/include/asm/signal.h,
arch/parisc/include/asm/thread_info.h and arch/parisc/include/asm/vdso.h
that had the macro spelled in a wrong way.

Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
26 files changed:
arch/parisc/include/asm/alternative.h
arch/parisc/include/asm/assembly.h
arch/parisc/include/asm/barrier.h
arch/parisc/include/asm/cache.h
arch/parisc/include/asm/current.h
arch/parisc/include/asm/dwarf.h
arch/parisc/include/asm/fixmap.h
arch/parisc/include/asm/ftrace.h
arch/parisc/include/asm/jump_label.h
arch/parisc/include/asm/kexec.h
arch/parisc/include/asm/kgdb.h
arch/parisc/include/asm/linkage.h
arch/parisc/include/asm/page.h
arch/parisc/include/asm/pdc.h
arch/parisc/include/asm/pdcpat.h
arch/parisc/include/asm/pgtable.h
arch/parisc/include/asm/prefetch.h
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/psw.h
arch/parisc/include/asm/signal.h
arch/parisc/include/asm/smp.h
arch/parisc/include/asm/spinlock_types.h
arch/parisc/include/asm/thread_info.h
arch/parisc/include/asm/traps.h
arch/parisc/include/asm/unistd.h
arch/parisc/include/asm/vdso.h