[PATCH] hdrinstall: remove asm/io.h from user visibility
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 14 Jul 2006 07:24:08 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:52 +0000 (21:53 -0700)
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 <asm/io.h> from userspace is broken on most architectures
anyway.  Just say 'no'.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/Kbuild.asm

index bdb8b089d85d1170af92bbf42eba1f5a8d086f27..6b16dda18115a6a8de2fde2a573107297c24cffb 100644 (file)
@@ -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