]> err.no Git - linux-2.6/commitdiff
sysfs: cleanup semaphore.h
authorDave Young <hidave.darkstar@gmail.com>
Thu, 26 Jul 2007 14:53:53 +0000 (14:53 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:03 +0000 (14:51 -0700)
Cleanup semaphore.h

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/bin.c
fs/sysfs/dir.c
fs/sysfs/group.c
fs/sysfs/inode.c
fs/sysfs/mount.c
fs/sysfs/symlink.c

index 5afe2a26f5d877f69b268c1fb827aa8dbea55ea0..a819a7e8d74d42c69ce5cedc5a96afbefbf38f76 100644 (file)
@@ -14,9 +14,9 @@
 #include <linux/kobject.h>
 #include <linux/module.h>
 #include <linux/slab.h>
+#include <linux/mutex.h>
 
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 
 #include "sysfs.h"
 
index ea33b660ae8a9c0de594d2b5433a960821aea1b7..86d75e08de604b8ccdef98f8860c5ab106e7e9c0 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/namei.h>
 #include <linux/idr.h>
 #include <linux/completion.h>
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
 #include "sysfs.h"
 
 DEFINE_MUTEX(sysfs_mutex);
index f318b73c790c8d2b058bd68ac6646b2adb550802..e6b904d716335b8deb0d051530ea01904030a9b1 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/namei.h>
 #include <linux/err.h>
 #include <linux/fs.h>
-#include <asm/semaphore.h>
 #include "sysfs.h"
 
 
index 10d1b52899f111a880ae858b3c9ef7833f915890..aecb6e771e2ab3e0428354490f44a9d87e2517b2 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
-#include <asm/semaphore.h>
 #include "sysfs.h"
 
 extern struct super_block * sysfs_sb;
index fbc7b65fe26267d776a105f5d37f01627edf44a2..69a73ae307fe0bb8c718b7a4bb90b6392bdc4248 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/mount.h>
 #include <linux/pagemap.h>
 #include <linux/init.h>
-#include <asm/semaphore.h>
 
 #include "sysfs.h"
 
index 4ce687f0b5d01751dfb8f8aa189c84360eaab39e..90484533801e6daa8237a44cd60d0b2d9179f1f1 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/module.h>
 #include <linux/kobject.h>
 #include <linux/namei.h>
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
 
 #include "sysfs.h"