From: Sasha Levin <sashal@kernel.org>
To: Andreas Larsson <andreas@gaisler.com>
Cc: patches@lists.linux.dev, stable@vger.kernel.org,
Thomas Huth <thuth@redhat.com>,
"David S. Miller" <davem@davemloft.net>,
sparclinux@vger.kernel.org, nathan@kernel.org,
alexandre.f.demers@gmail.com, alexander.deucher@amd.com,
llvm@lists.linux.dev
Subject: Re: [PATCH AUTOSEL 6.17-5.4] sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
Date: Tue, 4 Nov 2025 09:14:03 -0500 [thread overview]
Message-ID: <aQoKKyDTfD0Sn6qz@laps> (raw)
In-Reply-To: <62e049c9-cb92-4eaa-b069-e96ddafaad03@gaisler.com>
On Mon, Oct 27, 2025 at 09:09:17AM +0100, Andreas Larsson wrote:
>On 2025-10-25 17:57, Sasha Levin wrote:
>> From: Thomas Huth <thuth@redhat.com>
>>
>> [ Upstream commit d6fb6511de74bd0d4cb4cabddae9b31d533af1c1 ]
>>
>> __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 completely mechanical patch (done with a simple "sed -i"
>> statement).
>>
>> Cc: David S. Miller <davem@davemloft.net>
>> Cc: Andreas Larsson <andreas@gaisler.com>
>> Cc: sparclinux@vger.kernel.org
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> Reviewed-by: Andreas Larsson <andreas@gaisler.com>
>> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
>> Signed-off-by: Sasha Levin <sashal@kernel.org>
>> ---
>
>The upstream commit dc356bf3c173 ("sparc: Drop the "-ansi" from the asflags") is
>a prerequisite to d6fb6511de74 ("sparc: Replace __ASSEMBLY__ with __ASSEMBLER__
>in uapi headers") that here is planned to be picked up to stable branches. If
>this prerequisite is not picked up first the kernel will not compile [1].
I'll drop this commit. Thanks!
--
Thanks,
Sasha
next prev parent reply other threads:[~2025-11-04 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20251025160905.3857885-1-sashal@kernel.org>
2025-10-25 15:54 ` [PATCH AUTOSEL 6.17-5.4] selftests/net: Replace non-standard __WORDSIZE with sizeof(long) * 8 Sasha Levin
2025-10-25 15:57 ` [PATCH AUTOSEL 6.17-5.4] sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Sasha Levin
2025-10-27 8:09 ` Andreas Larsson
2025-11-04 14:14 ` Sasha Levin [this message]
2025-10-25 16:01 ` [PATCH AUTOSEL 6.17-5.4] sparc/module: Add R_SPARC_UA64 relocation handling Sasha Levin
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=aQoKKyDTfD0Sn6qz@laps \
--to=sashal@kernel.org \
--cc=alexander.deucher@amd.com \
--cc=alexandre.f.demers@gmail.com \
--cc=andreas@gaisler.com \
--cc=davem@davemloft.net \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=patches@lists.linux.dev \
--cc=sparclinux@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=thuth@redhat.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