From: David Woodhouse Date: Fri, 14 Jul 2006 07:24:08 +0000 (-0700) Subject: [PATCH] hdrinstall: remove asm/io.h from user visibility X-Git-Tag: v2.6.18-rc2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52fa259b5aaf310657e5d30be48a300860741447;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] hdrinstall: remove asm/io.h from user visibility There's no excuse for userspace abusing this kernel header -- the kernel's headers are not intended to provide a library of helper routines for userspace. Using from userspace is broken on most architectures anyway. Just say 'no'. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm index bdb8b08..6b16dda 100644 --- a/include/asm-generic/Kbuild.asm +++ b/include/asm-generic/Kbuild.asm @@ -4,8 +4,5 @@ unifdef-y += a.out.h auxvec.h byteorder.h errno.h fcntl.h ioctl.h \ sigcontext.h siginfo.h signal.h socket.h sockios.h stat.h \ statfs.h termbits.h termios.h timex.h types.h unistd.h user.h -# These really shouldn't be exported -unifdef-y += io.h - # These probably shouldn't be exported unifdef-y += elf.h page.h