lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <817c02a0-5493-419a-9663-73a85182b047@linaro.org>
Date: Thu, 20 Mar 2025 13:56:22 +0100
From: Philippe Mathieu-Daudé <philmd@...aro.org>
To: Thomas Huth <thuth@...hat.com>, linux-kernel@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>, linux-arch@...r.kernel.org,
 Thomas Bogendoerfer <tsbogend@...ha.franken.de>, linux-mips@...r.kernel.org
Subject: Re: [PATCH 19/41] mips: Replace __ASSEMBLY__ with __ASSEMBLER__ in
 the mips headers

On 14/3/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 almost a completely mechanical patch (done with a simple
> "sed -i" statement), with just one comment tweaked manually in
> arch/mips/include/asm/cpu.h (that was missing some underscores).
> 
> Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Cc: linux-mips@...r.kernel.org
> Signed-off-by: Thomas Huth <thuth@...hat.com>
> ---
>   arch/mips/include/asm/addrspace.h            |  4 +--
>   arch/mips/include/asm/asm-eva.h              |  6 ++--
>   arch/mips/include/asm/asm.h                  |  8 ++---
>   arch/mips/include/asm/bmips.h                |  4 +--
>   arch/mips/include/asm/cpu.h                  |  4 +--
>   arch/mips/include/asm/dec/ecc.h              |  2 +-
>   arch/mips/include/asm/dec/interrupts.h       |  4 +--
>   arch/mips/include/asm/dec/kn01.h             |  2 +-
>   arch/mips/include/asm/dec/kn02.h             |  2 +-
>   arch/mips/include/asm/dec/kn02xa.h           |  2 +-
>   arch/mips/include/asm/eva.h                  |  4 +--
>   arch/mips/include/asm/ftrace.h               |  4 +--
>   arch/mips/include/asm/hazards.h              |  4 +--
>   arch/mips/include/asm/irqflags.h             |  4 +--
>   arch/mips/include/asm/jazz.h                 | 16 ++++-----
>   arch/mips/include/asm/jump_label.h           |  4 +--
>   arch/mips/include/asm/linkage.h              |  2 +-
>   arch/mips/include/asm/mach-generic/spaces.h  |  4 +--
>   arch/mips/include/asm/mips-boards/bonito64.h |  4 +--
>   arch/mips/include/asm/mipsmtregs.h           |  6 ++--
>   arch/mips/include/asm/mipsregs.h             |  6 ++--
>   arch/mips/include/asm/msa.h                  |  4 +--
>   arch/mips/include/asm/pci/bridge.h           |  4 +--
>   arch/mips/include/asm/pm.h                   |  6 ++--
>   arch/mips/include/asm/prefetch.h             |  2 +-
>   arch/mips/include/asm/regdef.h               |  4 +--
>   arch/mips/include/asm/sibyte/board.h         |  4 +--
>   arch/mips/include/asm/sibyte/sb1250.h        |  2 +-
>   arch/mips/include/asm/sibyte/sb1250_defs.h   |  6 ++--
>   arch/mips/include/asm/smp-cps.h              |  6 ++--
>   arch/mips/include/asm/sn/addrs.h             | 18 +++++-----
>   arch/mips/include/asm/sn/gda.h               |  4 +--
>   arch/mips/include/asm/sn/kldir.h             |  4 +--
>   arch/mips/include/asm/sn/klkernvars.h        |  4 +--
>   arch/mips/include/asm/sn/launch.h            |  4 +--
>   arch/mips/include/asm/sn/nmi.h               |  8 ++---
>   arch/mips/include/asm/sn/sn0/addrs.h         | 14 ++++----
>   arch/mips/include/asm/sn/sn0/hub.h           |  2 +-
>   arch/mips/include/asm/sn/sn0/hubio.h         | 36 ++++++++++----------
>   arch/mips/include/asm/sn/sn0/hubmd.h         |  4 +--
>   arch/mips/include/asm/sn/sn0/hubni.h         |  6 ++--
>   arch/mips/include/asm/sn/sn0/hubpi.h         |  4 +--
>   arch/mips/include/asm/sn/types.h             |  2 +-
>   arch/mips/include/asm/sync.h                 |  2 +-
>   arch/mips/include/asm/thread_info.h          |  4 +--
>   arch/mips/include/asm/unistd.h               |  4 +--
>   arch/mips/include/asm/vdso/gettimeofday.h    |  4 +--
>   arch/mips/include/asm/vdso/processor.h       |  4 +--
>   arch/mips/include/asm/vdso/vdso.h            |  4 +--
>   arch/mips/include/asm/vdso/vsyscall.h        |  4 +--
>   arch/mips/include/asm/xtalk/xtalk.h          |  4 +--
>   arch/mips/include/asm/xtalk/xwidget.h        |  4 +--
>   drivers/soc/bcm/brcmstb/pm/pm.h              |  2 +-
>   53 files changed, 140 insertions(+), 140 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@...aro.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ