From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756409AbXJ3LCB (ORCPT ); Tue, 30 Oct 2007 07:02:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753155AbXJ3LBO (ORCPT ); Tue, 30 Oct 2007 07:01:14 -0400 Received: from partizan.velesys.com ([213.184.230.195]:64121 "EHLO partizan.velesys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752709AbXJ3LBN (ORCPT ); Tue, 30 Oct 2007 07:01:13 -0400 From: "Kirill A. Shutemov" To: David Woodhouse , Linus Torvalds Cc: Mike Frysinger , linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 3/4] Unexport asm/user.h and linux/user.h Date: Tue, 30 Oct 2007 13:02:18 +0200 Message-Id: <1193742139-29738-4-git-send-email-k.shutemov@gmail.com> X-Mailer: git-send-email 1.5.3.4.GIT In-Reply-To: <1193742139-29738-1-git-send-email-k.shutemov@gmail.com> References: <1193742139-29738-1-git-send-email-k.shutemov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Do not export asm/user.h and linux/user.h during make headers_install. Signed-off-by: Kirill A. Shutemov --- 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 #include #include +#ifdef __KERNEL__ #include +#endif #include struct elf_siginfo -- 1.5.3.4.GIT