mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
[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:
parent
998f6fabbf
commit
e035cc35e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user