提交 8ffbc759 编写于 作者: D David Woodhouse

Don't include <asm/atomic.h> from user-visible part of linux/sem.h

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