]> Gentwo Git Trees - linux/.git/commit
powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 1 Aug 2025 08:20:06 +0000 (10:20 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Mon, 1 Sep 2025 07:53:29 +0000 (13:23 +0530)
commit8e0665eb85394ea9823fb965a73ae9a6265af4b0
tree890b60767099d2536885d3f950c3433e68bd3771
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
powerpc: 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 assembler
code.

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

Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250801082007.32904-2-thuth@redhat.com
arch/powerpc/include/uapi/asm/opal-prd.h
arch/powerpc/include/uapi/asm/ptrace.h
arch/powerpc/include/uapi/asm/types.h