projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b6714
)
Don't include <asm/atomic.h> from user-visible part of linux/sem.h
author
David Woodhouse
<dwmw2@infradead.org>
Tue, 25 Apr 2006 13:55:13 +0000
(14:55 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Tue, 25 Apr 2006 13:55:13 +0000
(14:55 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/sem.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/sem.h
b/include/linux/sem.h
index 3c1f1120fe8846de2ef1f9a3ec2d4cf47171f8b0..9aaffb0b1d81e9ebfee3c9731209a23fac42223e 100644
(file)
--- 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;