[PATCH] hdrinstall: remove asm/atomic.h from user visibility

This isn't suitable for userspace to see -- the kernel headers are not a
random library of stuff for userspace; they're only there to define the
kernel<->user ABI for system libraries and tools.  Anything which _was_
abusing asm/atomic.h from userspace was probably broken anyway -- as it often
didn't even give atomic operation.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
David Woodhouse 2006-07-14 00:24:07 -07:00 committed by Linus Torvalds
parent 998f6fabbf
commit e035cc35e5

View File

@ -5,7 +5,7 @@ unifdef-y += a.out.h auxvec.h byteorder.h errno.h fcntl.h ioctl.h \
statfs.h termbits.h termios.h timex.h types.h unistd.h user.h
# These really shouldn't be exported
unifdef-y += atomic.h io.h
unifdef-y += io.h
# These probably shouldn't be exported
unifdef-y += elf.h page.h