mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Fang Xieyan" <fangxy@xiaopeng.com>
Cc: Linux-Arch <linux-arch@vger.kernel.org>,
	linux-kernel@vger.kernel.org,
	"Thomas Weißschuh" <linux@weissschuh.net>
Subject: Re: [PATCH] asm-generic: bitsperlong: Remove the disabled BITS_PER_LONG check
Date: Mon, 23 Nov 2026 09:08:18 +0100	[thread overview]
Message-ID: <423ac235-513e-4850-ba1c-5fe98eb2b294@app.fastmail.com> (raw)
In-Reply-To: <20261121140444.57953-1-fangxy@xiaopeng.com>

On Sat, Nov 21, 2026, at 15:04, Fang Xieyan wrote:
> A FIXME in this header asks to fix x86-64 and reenable the check
> between BITS_PER_LONG and __BITS_PER_LONG. However, this check
> cannot be enabled because the two values can legitimately differ
> when building the compat vDSO.

I think the correct fix would be to stop the x86 vdso from including
this header. The general rule is that any VDSO code should only
include headers from include/vdso/, but not include/linux or include/asm.

     Arnd

  reply	other threads:[~2026-11-23  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21 14:04 Fang Xieyan
2026-11-23  8:08 ` Arnd Bergmann [this message]
2026-11-23 10:45   ` Fang Xieyan

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=423ac235-513e-4850-ba1c-5fe98eb2b294@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=fangxy@xiaopeng.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    /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

all inboxes | Powered by JetHome®