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

From
Segher Boessenkool <hidden>
Date
2025-06-10 20:21:05
Reply to
Thomas Huth, 2025-06-10
On Tue, Jun 10, 2025 at 06:01:27PM +0200, Thomas Huth wrote:
From: Thomas Huth <redacted>

__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 <redacted>


Segher
Thread (9 messages) 9 messages, 2 authors, last reply 2025-06-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help