Skip to content

Commit

Permalink
Don't include <asm/atomic.h> from user-visible part of linux/sem.h
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
dwmw2 committed Apr 25, 2006
1 parent a3b6714 commit 8ffbc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/sem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -78,6 +77,7 @@ struct seminfo {
#define SEMUSZ 20 /* sizeof struct sem_undo */

#ifdef __KERNEL__
#include <asm/atomic.h>

struct task_struct;

Expand Down

0 comments on commit 8ffbc75

Please sign in to comment.