From e035cc35e54230eb704ee7feccf476ed2fb2ae29 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 14 Jul 2006 00:24:07 -0700 Subject: [PATCH] [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-generic/Kbuild.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm index da163c123edb..bdb8b089d85d 100644 --- a/include/asm-generic/Kbuild.asm +++ b/include/asm-generic/Kbuild.asm @@ -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 -- 2.20.1