diff options
author | Kirill A. Shutemov <k.shutemov@gmail.com> | 2008-02-07 03:15:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:29 -0500 |
commit | c1445db9f72db0537c43a2eab6e1b0f6741162f5 (patch) | |
tree | 3ea99c656c8d3699631c29d003ffe2f81752eb79 /include | |
parent | 12debc4248a4a7f1873e47cda2cdd7faca80b099 (diff) |
Unexport asm/user.h and linux/user.h
Do not export asm/user.h and linux/user.h during make headers_install.
Signed-off-by: Kirill A. Shutemov <k.shutemov@gmail.com>
Reviewed-by: David Woodhouse <dwmw2@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/Kbuild.asm | 1 | ||||
-rw-r--r-- | include/asm-x86/Kbuild | 2 | ||||
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | 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 8fd81713cfc0..1f8c3df1c26d 100644 --- a/include/asm-generic/Kbuild.asm +++ b/include/asm-generic/Kbuild.asm | |||
@@ -27,7 +27,6 @@ unifdef-y += termbits.h | |||
27 | unifdef-y += termios.h | 27 | unifdef-y += termios.h |
28 | unifdef-y += types.h | 28 | unifdef-y += types.h |
29 | unifdef-y += unistd.h | 29 | unifdef-y += unistd.h |
30 | unifdef-y += user.h | ||
31 | 30 | ||
32 | # These probably shouldn't be exported | 31 | # These probably shouldn't be exported |
33 | unifdef-y += elf.h | 32 | unifdef-y += elf.h |
diff --git a/include/asm-x86/Kbuild b/include/asm-x86/Kbuild index 3c6f0f80e827..b04a7ff46df1 100644 --- a/include/asm-x86/Kbuild +++ b/include/asm-x86/Kbuild | |||
@@ -22,7 +22,5 @@ unifdef-y += posix_types_64.h | |||
22 | unifdef-y += ptrace.h | 22 | unifdef-y += ptrace.h |
23 | unifdef-y += unistd_32.h | 23 | unifdef-y += unistd_32.h |
24 | unifdef-y += unistd_64.h | 24 | unifdef-y += unistd_64.h |
25 | unifdef-y += user_32.h | ||
26 | unifdef-y += user_64.h | ||
27 | unifdef-y += vm86.h | 25 | unifdef-y += vm86.h |
28 | unifdef-y += vsyscall.h | 26 | unifdef-y += vsyscall.h |
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 93631229fd5c..6723bc973dac 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -344,7 +344,6 @@ unifdef-y += uinput.h | |||
344 | unifdef-y += uio.h | 344 | unifdef-y += uio.h |
345 | unifdef-y += unistd.h | 345 | unifdef-y += unistd.h |
346 | unifdef-y += usbdevice_fs.h | 346 | unifdef-y += usbdevice_fs.h |
347 | unifdef-y += user.h | ||
348 | unifdef-y += utsname.h | 347 | unifdef-y += utsname.h |
349 | unifdef-y += videodev2.h | 348 | unifdef-y += videodev2.h |
350 | unifdef-y += videodev.h | 349 | unifdef-y += videodev.h |
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 9631dddae348..0432de7d4707 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h | |||
@@ -4,7 +4,9 @@ | |||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/signal.h> | 5 | #include <linux/signal.h> |
6 | #include <linux/time.h> | 6 | #include <linux/time.h> |
7 | #ifdef __KERNEL__ | ||
7 | #include <linux/user.h> | 8 | #include <linux/user.h> |
9 | #endif | ||
8 | #include <linux/ptrace.h> | 10 | #include <linux/ptrace.h> |
9 | 11 | ||
10 | struct elf_siginfo | 12 | struct elf_siginfo |