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

2025-06-10 Thread Thomas Huth
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 __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

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

2025-06-10 Thread Segher Boessenkool
On Tue, Jun 10, 2025 at 06:01:27PM +0200, Thomas Huth wrote: > From: Thomas Huth > > __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 automa

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

2025-06-10 Thread Thomas Huth
From: Thomas Huth __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. This is a complete