Commit d7b1acd3 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Matthew Wilcox

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: default avatarMatthew Wilcox <willy@linux.intel.com>
parent f42b3800
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <linux/percpu.h> #include <linux/percpu.h>
#include <linux/audit.h> #include <linux/audit.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/semaphore.h>
/* selinuxfs pseudo filesystem for exporting the security policy API. /* selinuxfs pseudo filesystem for exporting the security policy API.
Based on the proc code and the fs/nfsd/nfsctl.c code. */ Based on the proc code and the fs/nfsd/nfsctl.c code. */
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <asm/semaphore.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "security.h" #include "security.h"
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#include <net/xfrm.h> #include <net/xfrm.h>
#include <net/checksum.h> #include <net/checksum.h>
#include <net/udp.h> #include <net/udp.h>
#include <asm/semaphore.h>
#include <asm/atomic.h> #include <asm/atomic.h>
#include "avc.h" #include "avc.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment