From: David Woodhouse <dwmw2@infradead.org>
To: torvalds@osdl.org
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [HDRINSTALL 2/3] Remove asm/atomic.h from user visibility
Date: Tue, 11 Jul 2006 00:32:09 +0100 [thread overview]
Message-ID: <1152574329.25567.55.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1152573909.25567.45.camel@shinybook.infradead.org>
[HDRINSTALL] Remove asm/atomic.h from user visibility
This isn't suitable for userspace to see -- the kernel headers are not a
random library of stuff for userspace; they're only there to define the
kernel<->user ABI for system libraries and tools. Anything which _was_
abusing asm/atomic.h from userspace was probably broken anyway -- as it
often didn't even give atomic operation.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
index da163c1..bdb8b08 100644
--- a/include/asm-generic/Kbuild.asm
+++ b/include/asm-generic/Kbuild.asm
@@ -5,7 +5,7 @@ unifdef-y += a.out.h auxvec.h byteorder.
statfs.h termbits.h termios.h timex.h types.h unistd.h user.h
# These really shouldn't be exported
-unifdef-y += atomic.h io.h
+unifdef-y += io.h
# These probably shouldn't be exported
unifdef-y += elf.h page.h
--
dwmw2
next parent reply other threads:[~2006-07-10 23:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1152573909.25567.45.camel@shinybook.infradead.org>
2006-07-10 23:32 ` David Woodhouse [this message]
[not found] ` <1152574110.25567.47.camel@shinybook.infradead.org>
2006-07-10 23:32 ` [HDRINSTALL 3/3] Remove asm/io.h " David Woodhouse
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=1152574329.25567.55.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®