public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm: Replace ASSEMBLY with ASSEMBLER in uapi headers
@ 2026-02-18 13:39 Nick Huang
  2026-02-19  0:22 ` Maciej W. Rozycki
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Huang @ 2026-02-18 13:39 UTC (permalink / raw)
  To: Russell King
  Cc: yot4106, dory85109, Eric Biggers, Rob Herring, Dongsheng Yang,
	John Garry, Jeff Layton, Chaohai Chen, Nick Huang, David Gow,
	Qu Wenruo, Namhyung Kim, Ilya Dryomov, linux-arm-kernel,
	linux-kernel

  ASSEMBLY is defined only by the kernel Makefile and thus not suitable for uapi headers
  unless userspace Makefiles also define it. Switch to ASSEMBLER, which the compiler sets
  automatically when compiling assembly. Reference: commit
  639f08fc20c92c2cc373b2b4d065185daa9633e3

Signed-off-by: Nick Huang <sef1548@gmail.com>
---
 arch/arm/include/uapi/asm/ptrace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/uapi/asm/ptrace.h b/arch/arm/include/uapi/asm/ptrace.h
index 8896c23cc..f28cbd318 100644
--- a/arch/arm/include/uapi/asm/ptrace.h
+++ b/arch/arm/include/uapi/asm/ptrace.h
@@ -119,7 +119,7 @@
 #define PT_DATA_ADDR		0x10004
 #define PT_TEXT_END_ADDR	0x10008
 
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__ 
 
 /*
  * This struct defines the way the registers are stored on the
@@ -158,6 +158,6 @@ struct pt_regs {
 #define ARM_VFPREGS_SIZE ( 32 * 8 /*fpregs*/ + 4 /*fpscr*/ )
 
 
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__  */
 
 #endif /* _UAPI__ASM_ARM_PTRACE_H */
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-27 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18 13:39 [PATCH] arm: Replace ASSEMBLY with ASSEMBLER in uapi headers Nick Huang
2026-02-19  0:22 ` Maciej W. Rozycki
2026-02-27 18:53   ` [PATCH] arm: Replace __ASSEMBLY__ with __ASSEMBLER__ " Nick Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox