From: Xi Ruoyao <xry111@xry111.site>
To: Tiezhu Yang <yangtiezhu@loongson.cn>, Arnd Bergmann <arnd@arndb.de>
Cc: Linux-Arch <linux-arch@vger.kernel.org>,
linux-s390@vger.kernel.org, llvm@lists.linux.dev,
linux-ia64@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-parisc@vger.kernel.org, x86@kernel.org,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-perf-users@vger.kernel.org, loongarch@lists.linux.dev,
linux-alpha@vger.kernel.org, sparclinux@vger.kernel.org,
linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org,
bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
loongson-kernel@lists.loongnix.cn
Subject: Re: [RFC PATCH] asm-generic: Unify uapi bitsperlong.h
Date: Fri, 09 Jun 2023 21:05:07 +0800 [thread overview]
Message-ID: <5de9d69817138f2ccae0867b5ccb602dcfa007a3.camel@xry111.site> (raw)
In-Reply-To: <ca4c4968-411d-4e2c-543e-ffb62413ddef@loongson.cn>
On Fri, 2023-06-09 at 14:50 +0800, Tiezhu Yang wrote:
/* snip */
> > > > In musl, the documentation states that at least gcc-3.4 or
> > > > clang-3.2 are required, which probably predate the
> > > > __SIZEOF_LONG__ macro.
Indeed, I've digged some history and __SIZEOF_LONG__ was added into GCC-
4.3 (in 2008). And I didn't realize the bitsperlong.h in tools
directory is a copy from uapi.
> > > > On the other hand, musl was only
> > > > released in 2011, and building musl itself explicitly
> > > > does not require kernel uapi headers, so this may not
> > > > be too critical.
> Only arm64, riscv and loongarch belong to the newer architectures
> which are related with this change, I am not sure it is necessary
> to "unify" uapi bitsperlong.h for them.
At least it will stop the engineers working on "the next architecture"
from adding an unneeded bitsperlong.h :).
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
prev parent reply other threads:[~2023-06-09 13:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 7:05 [RFC PATCH] asm-generic: Unify uapi bitsperlong.h Tiezhu Yang
2023-05-09 9:37 ` Arnd Bergmann
2023-06-08 7:04 ` Tiezhu Yang
2023-06-08 12:56 ` Arnd Bergmann
2023-06-09 6:50 ` Tiezhu Yang
2023-06-09 13:05 ` Xi Ruoyao [this message]
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=5de9d69817138f2ccae0867b5ccb602dcfa007a3.camel@xry111.site \
--to=xry111@xry111.site \
--cc=arnd@arndb.de \
--cc=bpf@vger.kernel.org \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-s390@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=llvm@lists.linux.dev \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=sparclinux@vger.kernel.org \
--cc=x86@kernel.org \
--cc=yangtiezhu@loongson.cn \
/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