public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Nick Huang <sef1548@gmail.com>
To: Russell King <linux@armlinux.org.uk>
Cc: yot4106@gmail.com, dory85109@gmail.com,
	Eric Biggers <ebiggers@kernel.org>, Rob Herring <robh@kernel.org>,
	Dongsheng Yang <dongsheng.yang@linux.dev>,
	John Garry <john.g.garry@oracle.com>,
	Jeff Layton <jlayton@kernel.org>, Chaohai Chen <wdhh6@aliyun.com>,
	Nick Huang <sef1548@gmail.com>, David Gow <davidgow@google.com>,
	Qu Wenruo <wqu@suse.com>, Namhyung Kim <namhyung@kernel.org>,
	Ilya Dryomov <idryomov@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] arm: Replace ASSEMBLY with ASSEMBLER in uapi headers
Date: Wed, 18 Feb 2026 13:39:52 +0000	[thread overview]
Message-ID: <20260218133952.5356-1-sef1548@gmail.com> (raw)

  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



             reply	other threads:[~2026-02-18 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18 13:39 Nick Huang [this message]
2026-02-19  0:22 ` [PATCH] arm: Replace ASSEMBLY with ASSEMBLER in uapi headers Maciej W. Rozycki
2026-02-27 18:53   ` [PATCH] arm: Replace __ASSEMBLY__ with __ASSEMBLER__ " Nick Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260218133952.5356-1-sef1548@gmail.com \
    --to=sef1548@gmail.com \
    --cc=davidgow@google.com \
    --cc=dongsheng.yang@linux.dev \
    --cc=dory85109@gmail.com \
    --cc=ebiggers@kernel.org \
    --cc=idryomov@gmail.com \
    --cc=jlayton@kernel.org \
    --cc=john.g.garry@oracle.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=namhyung@kernel.org \
    --cc=robh@kernel.org \
    --cc=wdhh6@aliyun.com \
    --cc=wqu@suse.com \
    --cc=yot4106@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox