[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4bf2981f-fbcd-46ff-8d35-9772b35263f3@gmx.de>
Date: Sun, 4 May 2025 20:53:50 +0200
From: Helge Deller <deller@....de>
To: Thomas Huth <thuth@...hat.com>, linux-kernel@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>, linux-arch@...r.kernel.org,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
linux-parisc@...r.kernel.org
Subject: Re: [PATCH 25/41] parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in
non-uapi headers
On 3/14/25 08:09, Thomas Huth wrote:
> 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@...senPartnership.com>
> Cc: Helge Deller <deller@....de>
> Cc: linux-parisc@...r.kernel.org
> Signed-off-by: Thomas Huth <thuth@...hat.com>
> ---
> arch/parisc/include/asm/alternative.h | 4 ++--
> arch/parisc/include/asm/assembly.h | 4 ++--
> arch/parisc/include/asm/barrier.h | 4 ++--
> arch/parisc/include/asm/cache.h | 4 ++--
> arch/parisc/include/asm/current.h | 4 ++--
> arch/parisc/include/asm/dwarf.h | 4 ++--
> arch/parisc/include/asm/fixmap.h | 4 ++--
> arch/parisc/include/asm/ftrace.h | 4 ++--
> arch/parisc/include/asm/jump_label.h | 4 ++--
> arch/parisc/include/asm/kexec.h | 4 ++--
> arch/parisc/include/asm/kgdb.h | 2 +-
> arch/parisc/include/asm/linkage.h | 4 ++--
> arch/parisc/include/asm/page.h | 6 +++---
> arch/parisc/include/asm/pdc.h | 4 ++--
> arch/parisc/include/asm/pdcpat.h | 4 ++--
> arch/parisc/include/asm/pgtable.h | 8 ++++----
> arch/parisc/include/asm/prefetch.h | 4 ++--
> arch/parisc/include/asm/processor.h | 8 ++++----
> arch/parisc/include/asm/psw.h | 4 ++--
> arch/parisc/include/asm/signal.h | 4 ++--
> arch/parisc/include/asm/smp.h | 4 ++--
> arch/parisc/include/asm/spinlock_types.h | 4 ++--
> arch/parisc/include/asm/thread_info.h | 4 ++--
> arch/parisc/include/asm/traps.h | 2 +-
> arch/parisc/include/asm/unistd.h | 4 ++--
> arch/parisc/include/asm/vdso.h | 4 ++--
> 26 files changed, 55 insertions(+), 55 deletions(-)
applied to the parisc git tree.
Thanks!
Helge
Powered by blists - more mailing lists