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

Thomas Huth thuth at redhat.com
Wed Jun 11 15:48:56 AEST 2025


On 10/06/2025 22.12, Segher Boessenkool wrote:
> 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 :-) )

I'm not a native speaker, but the web seems to be full of "assembly code", 
even the Wikipedia article uses it (see 
https://en.wikipedia.org/wiki/Assembly_language). Anyway, I can change it if 
that's preferred.

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

Thanks for your review!

  Thomas



More information about the Linuxppc-dev mailing list