Skip to content

Commit

Permalink
[PATCH] hdrinstall: remove asm/atomic.h from user visibility
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dwmw2 authored and Linus Torvalds committed Jul 15, 2006
1 parent 998f6fa commit e035cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/Kbuild.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e035cc3

Please sign in to comment.