Commit c1445db9 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Linus Torvalds

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: default avatarKirill A. Shutemov <k.shutemov@gmail.com>
Reviewed-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 12debc42
...@@ -27,7 +27,6 @@ unifdef-y += termbits.h ...@@ -27,7 +27,6 @@ unifdef-y += termbits.h
unifdef-y += termios.h unifdef-y += termios.h
unifdef-y += types.h unifdef-y += types.h
unifdef-y += unistd.h unifdef-y += unistd.h
unifdef-y += user.h
# These probably shouldn't be exported # These probably shouldn't be exported
unifdef-y += elf.h unifdef-y += elf.h
......
...@@ -22,7 +22,5 @@ unifdef-y += posix_types_64.h ...@@ -22,7 +22,5 @@ unifdef-y += posix_types_64.h
unifdef-y += ptrace.h unifdef-y += ptrace.h
unifdef-y += unistd_32.h unifdef-y += unistd_32.h
unifdef-y += unistd_64.h unifdef-y += unistd_64.h
unifdef-y += user_32.h
unifdef-y += user_64.h
unifdef-y += vm86.h unifdef-y += vm86.h
unifdef-y += vsyscall.h unifdef-y += vsyscall.h
...@@ -344,7 +344,6 @@ unifdef-y += uinput.h ...@@ -344,7 +344,6 @@ unifdef-y += uinput.h
unifdef-y += uio.h unifdef-y += uio.h
unifdef-y += unistd.h unifdef-y += unistd.h
unifdef-y += usbdevice_fs.h unifdef-y += usbdevice_fs.h
unifdef-y += user.h
unifdef-y += utsname.h unifdef-y += utsname.h
unifdef-y += videodev2.h unifdef-y += videodev2.h
unifdef-y += videodev.h unifdef-y += videodev.h
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/signal.h> #include <linux/signal.h>
#include <linux/time.h> #include <linux/time.h>
#ifdef __KERNEL__
#include <linux/user.h> #include <linux/user.h>
#endif
#include <linux/ptrace.h> #include <linux/ptrace.h>
struct elf_siginfo struct elf_siginfo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment