aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2007-07-26 10:53:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 17:51:03 -0400
commit869512ab5ab93e5e82ad7d4aaf4ed098d23bfc3f (patch)
treea5609e3aef01ec49ba2281274bac9d25c1cb3091 /fs/sysfs
parent52e8c209d6d2bae6766b9940a107c73e943583f1 (diff)
sysfs: cleanup semaphore.h
Cleanup semaphore.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/bin.c2
-rw-r--r--fs/sysfs/dir.c2
-rw-r--r--fs/sysfs/group.c1
-rw-r--r--fs/sysfs/inode.c1
-rw-r--r--fs/sysfs/mount.c1
-rw-r--r--fs/sysfs/symlink.c2
6 files changed, 3 insertions, 6 deletions
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c
index 5afe2a26f5d8..a819a7e8d74d 100644
--- a/fs/sysfs/bin.c
+++ b/fs/sysfs/bin.c
@@ -14,9 +14,9 @@
14#include <linux/kobject.h> 14#include <linux/kobject.h>
15#include <linux/module.h> 15#include <linux/module.h>
16#include <linux/slab.h> 16#include <linux/slab.h>
17#include <linux/mutex.h>
17 18
18#include <asm/uaccess.h> 19#include <asm/uaccess.h>
19#include <asm/semaphore.h>
20 20
21#include "sysfs.h" 21#include "sysfs.h"
22 22
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index ea33b660ae8a..86d75e08de60 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -11,7 +11,7 @@
11#include <linux/namei.h> 11#include <linux/namei.h>
12#include <linux/idr.h> 12#include <linux/idr.h>
13#include <linux/completion.h> 13#include <linux/completion.h>
14#include <asm/semaphore.h> 14#include <linux/mutex.h>
15#include "sysfs.h" 15#include "sysfs.h"
16 16
17DEFINE_MUTEX(sysfs_mutex); 17DEFINE_MUTEX(sysfs_mutex);
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index f318b73c790c..e6b904d71633 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -14,7 +14,6 @@
14#include <linux/namei.h> 14#include <linux/namei.h>
15#include <linux/err.h> 15#include <linux/err.h>
16#include <linux/fs.h> 16#include <linux/fs.h>
17#include <asm/semaphore.h>
18#include "sysfs.h" 17#include "sysfs.h"
19 18
20 19
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c
index 10d1b52899f1..aecb6e771e2a 100644
--- a/fs/sysfs/inode.c
+++ b/fs/sysfs/inode.c
@@ -14,7 +14,6 @@
14#include <linux/capability.h> 14#include <linux/capability.h>
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/sched.h> 16#include <linux/sched.h>
17#include <asm/semaphore.h>
18#include "sysfs.h" 17#include "sysfs.h"
19 18
20extern struct super_block * sysfs_sb; 19extern struct super_block * sysfs_sb;
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index fbc7b65fe262..69a73ae307fe 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -8,7 +8,6 @@
8#include <linux/mount.h> 8#include <linux/mount.h>
9#include <linux/pagemap.h> 9#include <linux/pagemap.h>
10#include <linux/init.h> 10#include <linux/init.h>
11#include <asm/semaphore.h>
12 11
13#include "sysfs.h" 12#include "sysfs.h"
14 13
diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c
index 4ce687f0b5d0..90484533801e 100644
--- a/fs/sysfs/symlink.c
+++ b/fs/sysfs/symlink.c
@@ -7,7 +7,7 @@
7#include <linux/module.h> 7#include <linux/module.h>
8#include <linux/kobject.h> 8#include <linux/kobject.h>
9#include <linux/namei.h> 9#include <linux/namei.h>
10#include <asm/semaphore.h> 10#include <linux/mutex.h>
11 11
12#include "sysfs.h" 12#include "sysfs.h"
13 13