提交 e035cc35 编写于 作者: D David Woodhouse 提交者: Linus Torvalds

[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: NDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 998f6fab
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册