mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Don't include <asm/atomic.h> from user-visible part of linux/sem.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
a3b6714e17
commit
8ffbc759a5
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,6 @@
|
||||||
#define _LINUX_SEM_H
|
#define _LINUX_SEM_H
|
||||||
|
|
||||||
#include <linux/ipc.h>
|
#include <linux/ipc.h>
|
||||||
#include <asm/atomic.h>
|
|
||||||
|
|
||||||
/* semop flags */
|
/* semop flags */
|
||||||
#define SEM_UNDO 0x1000 /* undo the operation on exit */
|
#define SEM_UNDO 0x1000 /* undo the operation on exit */
|
||||||
|
@ -78,6 +77,7 @@ struct seminfo {
|
||||||
#define SEMUSZ 20 /* sizeof struct sem_undo */
|
#define SEMUSZ 20 /* sizeof struct sem_undo */
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
#include <asm/atomic.h>
|
||||||
|
|
||||||
struct task_struct;
|
struct task_struct;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue