From: Alejandro Colomar <alx@kernel.org>
To: linux-man@vger.kernel.org
Cc: Alejandro Colomar <alx@kernel.org>, astian <astian@memeware.net>,
Andreas Jaeger <aj@suse.de>,
Linux-Arch <linux-arch@vger.kernel.org>,
Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH v1] man/man2/outb.2: Remove obsolete note about optimizations
Date: Fri, 11 Sep 2026 14:54:08 +0200 [thread overview]
Message-ID: <049db2a23b976fcef7fe1a667848724fa2067f07.1789131131.git.alx@kernel.org> (raw)
In-Reply-To: <b6258140-1ece-4113-bcb4-025302ef59cc@app.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]
It seems this was necessary due to an old glibc bug, fixed in glibc.git
994cc0ea88ce (2000-08-23; "(_EXTERN_INLINE): Remove. Use static __inline
instead of _EXTERN_INLINE.").
Link: <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=994cc0ea88ce7a33d532b735c0723705742b1a7e>
Reported-by: astian <astian@memeware.net>
Reported-by: Alejandro Colomar <alx@kernel.org>
Cc: Andreas Jaeger <aj@suse.de>
Cc: Linux-Arch <linux-arch@vger.kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Message-ID: <b6258140-1ece-4113-bcb4-025302ef59cc@app.fastmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
Hi Arnd,
Thanks for confirming! I've taken that as an 'Acked-by'.
I'll also prepare a commit for mentioning the non-portability, and the
archs that support this. Thanks for that suggestion!
Have a lovely day!
Alex
man/man2/outb.2 | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/man/man2/outb.2 b/man/man2/outb.2
index 98bd6bab4ffa..ba87455b121f 100644
--- a/man/man2/outb.2
+++ b/man/man2/outb.2
@@ -62,15 +62,6 @@ .SH DESCRIPTION
.\" in addition to that given in
.\" .BR outb (9).
.P
-You must compile with
-.B \-O
-or
-.B \-O2
-or similar.
-The functions
-are defined as inline macros, and will not be substituted in without
-optimization enabled, causing unresolved references at link time.
-.P
You use
.BR ioperm (2)
or alternatively
base-commit: bd51589ffe65f720d9618bffef5da00938e9842e
--
2.55.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-09-11 12:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DL30FONT5B6G.1ETPJ04T023RU@memeware.net>
2026-09-11 11:36 ` outb(2): terminology correction Alejandro Colomar
2026-09-11 11:43 ` Alejandro Colomar
2026-09-11 12:20 ` Arnd Bergmann
2026-09-11 12:54 ` Alejandro Colomar [this message]
2026-09-12 21:58 ` astian
2026-09-12 22:09 ` Alejandro Colomar
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=049db2a23b976fcef7fe1a667848724fa2067f07.1789131131.git.alx@kernel.org \
--to=alx@kernel.org \
--cc=aj@suse.de \
--cc=arnd@arndb.de \
--cc=astian@memeware.net \
--cc=linux-arch@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).