Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs: 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>

authored by

Matthew Wilcox and committed by
Matthew Wilcox
cb688371 d3135846

-5
-1
fs/9p/fid.c
··· 26 26 #include <linux/fs.h> 27 27 #include <linux/sched.h> 28 28 #include <linux/idr.h> 29 - #include <asm/semaphore.h> 30 29 #include <net/9p/9p.h> 31 30 #include <net/9p/client.h> 32 31
-1
fs/cramfs/inode.c
··· 23 23 #include <linux/buffer_head.h> 24 24 #include <linux/vfs.h> 25 25 #include <linux/mutex.h> 26 - #include <asm/semaphore.h> 27 26 28 27 #include <asm/uaccess.h> 29 28
-1
fs/dlm/dlm_internal.h
··· 37 37 #include <linux/jhash.h> 38 38 #include <linux/miscdevice.h> 39 39 #include <linux/mutex.h> 40 - #include <asm/semaphore.h> 41 40 #include <asm/uaccess.h> 42 41 43 42 #include <linux/dlm.h>
-1
fs/locks.c
··· 127 127 #include <linux/rcupdate.h> 128 128 #include <linux/pid_namespace.h> 129 129 130 - #include <asm/semaphore.h> 131 130 #include <asm/uaccess.h> 132 131 133 132 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX)
-1
fs/reiserfs/xattr.c
··· 44 44 #include <net/checksum.h> 45 45 #include <linux/smp_lock.h> 46 46 #include <linux/stat.h> 47 - #include <asm/semaphore.h> 48 47 49 48 #define FL_READONLY 128 50 49 #define FL_DIR_SEM_HELD 256