summaryrefslogtreecommitdiffstats
path: root/include/linux/sem.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-25 14:55:13 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-25 14:55:13 +0100
commit8ffbc759a5b655feb69435c4dfa857c391f9dcc8 (patch)
tree1fca46b69677e8e482498b9de143b9db915b3ebf /include/linux/sem.h
parenta3b6714e1744a5e841753d74aca1de5972f24e6d (diff)
downloadkernel-crypto-8ffbc759a5b655feb69435c4dfa857c391f9dcc8.tar.gz
kernel-crypto-8ffbc759a5b655feb69435c4dfa857c391f9dcc8.tar.xz
kernel-crypto-8ffbc759a5b655feb69435c4dfa857c391f9dcc8.zip
Don't include <asm/atomic.h> from user-visible part of linux/sem.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/sem.h')
-rw-r--r--include/linux/sem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h
index 3c1f1120fe8..9aaffb0b1d8 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -2,7 +2,6 @@
#define _LINUX_SEM_H
#include <linux/ipc.h>
-#include <asm/atomic.h>
/* semop flags */
#define SEM_UNDO 0x1000 /* undo the operation on exit */
@@ -78,6 +77,7 @@ struct seminfo {
#define SEMUSZ 20 /* sizeof struct sem_undo */
#ifdef __KERNEL__
+#include <asm/atomic.h>
struct task_struct;