[PATCH v2 1/2] powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers

Segher Boessenkool segher at kernel.crashing.org
Wed Jun 11 06:12:44 AEST 2025


On Tue, Jun 10, 2025 at 06:01:27PM +0200, Thomas Huth wrote:
> From: Thomas Huth <thuth at redhat.com>
> 
> __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 assembly
> code.

Assembl*er* code, yeah :-)  (What is "assembly"?  The dictionary says
"An assembly is a group of people gathered together for a particular
purpose.", but that is probably not what you mean :-) )

The patch looks fine, thanks!

Acked-by: Segher Boessenkool <segher at kernel.crashing.org>


Segher


More information about the Linuxppc-dev mailing list