From: "Kirill A. Shutemov" <k.shutemov@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Frysinger <vapier.adi@gmail.com>,
linux-kernel@vger.kernel.org,
"Kirill A. Shutemov" <k.shutemov@gmail.com>
Subject: [PATCH 3/4] Unexport asm/user.h and linux/user.h
Date: Tue, 30 Oct 2007 13:02:18 +0200 [thread overview]
Message-ID: <1193742139-29738-4-git-send-email-k.shutemov@gmail.com> (raw)
In-Reply-To: <1193742139-29738-1-git-send-email-k.shutemov@gmail.com>
Do not export asm/user.h and linux/user.h during make headers_install.
Signed-off-by: Kirill A. Shutemov <k.shutemov@gmail.com>
---
include/asm-generic/Kbuild.asm | 1 -
include/asm-x86/Kbuild | 2 --
include/linux/Kbuild | 1 -
include/linux/elfcore.h | 2 ++
4 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
index d744ee3..57ba606 100644
--- a/include/asm-generic/Kbuild.asm
+++ b/include/asm-generic/Kbuild.asm
@@ -27,4 +27,3 @@ unifdef-y += termbits.h
unifdef-y += termios.h
unifdef-y += types.h
unifdef-y += unistd.h
-unifdef-y += user.h
diff --git a/include/asm-x86/Kbuild b/include/asm-x86/Kbuild
index 828f9f8..f1b4dcb 100644
--- a/include/asm-x86/Kbuild
+++ b/include/asm-x86/Kbuild
@@ -21,7 +21,5 @@ unifdef-y += posix_types_64.h
unifdef-y += ptrace.h
unifdef-y += unistd_32.h
unifdef-y += unistd_64.h
-unifdef-y += user_32.h
-unifdef-y += user_64.h
unifdef-y += vm86.h
unifdef-y += vsyscall.h
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index ee3276c..bace1ba 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -339,7 +339,6 @@ unifdef-y += uinput.h
unifdef-y += uio.h
unifdef-y += unistd.h
unifdef-y += usbdevice_fs.h
-unifdef-y += user.h
unifdef-y += utsname.h
unifdef-y += videodev2.h
unifdef-y += videodev.h
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h
index e227719..5ca54d7 100644
--- a/include/linux/elfcore.h
+++ b/include/linux/elfcore.h
@@ -4,7 +4,9 @@
#include <linux/types.h>
#include <linux/signal.h>
#include <linux/time.h>
+#ifdef __KERNEL__
#include <linux/user.h>
+#endif
#include <linux/ptrace.h>
struct elf_siginfo
--
1.5.3.4.GIT
next prev parent reply other threads:[~2007-10-30 11:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 11:02 [PATCH 0/4] Unexport several headers and cleanup Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 1/4] Unexport asm/page.h Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 2/4] Unexport asm/elf.h Kirill A. Shutemov
2007-10-30 11:02 ` Kirill A. Shutemov [this message]
2007-10-30 11:02 ` [PATCH 4/4] Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed Kirill A. Shutemov
2007-10-30 23:50 ` Mike Frysinger
2007-10-30 12:47 ` [PATCH 0/4] Unexport several headers and cleanup David Woodhouse
2007-10-30 13:50 ` Kirill A. Shutemov
2007-10-30 14:25 ` 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=1193742139-29738-4-git-send-email-k.shutemov@gmail.com \
--to=k.shutemov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=vapier.adi@gmail.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
all inboxes | Powered by JetHome®