]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/af_unix.h
Merge signal handler branch
[linux-2.6-omap-h63xx.git] / include / net / af_unix.h
index bfc1779fc753fcf0c1a13a086bf5fc2b7c999b65..795f81f9ec7ff9c4e064e085d6c491d351a39f19 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef __LINUX_NET_AFUNIX_H
 #define __LINUX_NET_AFUNIX_H
 
-#include <linux/config.h>
 #include <linux/socket.h>
 #include <linux/un.h>
+#include <linux/mutex.h>
 #include <net/sock.h>
 
 extern void unix_inflight(struct file *fp);
@@ -71,7 +71,7 @@ struct unix_sock {
         struct unix_address     *addr;
         struct dentry          *dentry;
         struct vfsmount                *mnt;
-        struct semaphore        readsem;
+       struct mutex            readlock;
         struct sock            *peer;
         struct sock            *other;
         struct sock            *gc_tree;