The patch titled Unexport asm/user.h and linux/user.h has been added to the -mm tree. Its filename is unexport-asm-userh-and-linux-userh.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Unexport asm/user.h and linux/user.h From: "Kirill A. Shutemov" <k.shutemov@xxxxxxxxx> Do not export asm/user.h and linux/user.h during make headers_install. Signed-off-by: Kirill A. Shutemov <k.shutemov@xxxxxxxxx> Reviewed-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: H. Peter Anvin <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 -puN include/asm-generic/Kbuild.asm~unexport-asm-userh-and-linux-userh include/asm-generic/Kbuild.asm --- a/include/asm-generic/Kbuild.asm~unexport-asm-userh-and-linux-userh +++ a/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 -puN include/asm-x86/Kbuild~unexport-asm-userh-and-linux-userh include/asm-x86/Kbuild --- a/include/asm-x86/Kbuild~unexport-asm-userh-and-linux-userh +++ a/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 -puN include/linux/Kbuild~unexport-asm-userh-and-linux-userh include/linux/Kbuild --- a/include/linux/Kbuild~unexport-asm-userh-and-linux-userh +++ a/include/linux/Kbuild @@ -341,7 +341,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 -puN include/linux/elfcore.h~unexport-asm-userh-and-linux-userh include/linux/elfcore.h --- a/include/linux/elfcore.h~unexport-asm-userh-and-linux-userh +++ a/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 _ Patches currently in -mm which might be from k.shutemov@xxxxxxxxx are unexport-asm-pageh.patch unexport-asm-elfh.patch unexport-asm-userh-and-linux-userh.patch cleanup-asm-elfpageuserh-ifdef-__kernel__-is-no-longer-needed.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html