aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-02-26 10:49:01 -0500
committerMatthew Wilcox <willy@linux.intel.com>2008-04-18 22:17:25 -0400
commitd7b1acd3b524b39f418e463e836b48ac041954d6 (patch)
tree38e0c822bc6ed1aac05c51eb4f17c57c48f31766 /security
parentf42b38009e1dbd4509a865e5ea0e91a1722c979d (diff)
security: Remove unnecessary inclusions of asm/semaphore.h
None of these files use any of the functionality promised by asm/semaphore.h. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/selinuxfs.c1
-rw-r--r--security/selinux/ss/conditional.c1
-rw-r--r--security/selinux/xfrm.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 26fabad09769..7b681692be47 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -28,7 +28,6 @@
28#include <linux/percpu.h> 28#include <linux/percpu.h>
29#include <linux/audit.h> 29#include <linux/audit.h>
30#include <asm/uaccess.h> 30#include <asm/uaccess.h>
31#include <asm/semaphore.h>
32 31
33/* selinuxfs pseudo filesystem for exporting the security policy API. 32/* selinuxfs pseudo filesystem for exporting the security policy API.
34 Based on the proc code and the fs/nfsd/nfsctl.c code. */ 33 Based on the proc code and the fs/nfsd/nfsctl.c code. */
diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c
index a996cf1d378a..da0566c4f329 100644
--- a/security/selinux/ss/conditional.c
+++ b/security/selinux/ss/conditional.c
@@ -11,7 +11,6 @@
11#include <linux/errno.h> 11#include <linux/errno.h>
12#include <linux/string.h> 12#include <linux/string.h>
13#include <linux/spinlock.h> 13#include <linux/spinlock.h>
14#include <asm/semaphore.h>
15#include <linux/slab.h> 14#include <linux/slab.h>
16 15
17#include "security.h" 16#include "security.h"
diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c
index 874d17c83c61..3b8b994faad4 100644
--- a/security/selinux/xfrm.c
+++ b/security/selinux/xfrm.c
@@ -45,7 +45,6 @@
45#include <net/xfrm.h> 45#include <net/xfrm.h>
46#include <net/checksum.h> 46#include <net/checksum.h>
47#include <net/udp.h> 47#include <net/udp.h>
48#include <asm/semaphore.h>
49#include <asm/atomic.h> 48#include <asm/atomic.h>
50 49
51#include "avc.h" 50#include "avc.h"