]> err.no Git - linux-2.6/blobdiff - ipc/mqueue.c
[PATCH] sem2mutex: ipc, id.sem
[linux-2.6] / ipc / mqueue.c
index 85c52fd26bff0a612fb14f4574e9fc5d8d2246cd..a3bb0c8201c7943b8c95cc7623fbb37d8ae2df97 100644 (file)
@@ -25,6 +25,8 @@
 #include <linux/netlink.h>
 #include <linux/syscalls.h>
 #include <linux/signal.h>
+#include <linux/mutex.h>
+
 #include <net/sock.h>
 #include "util.h"
 
@@ -760,7 +762,7 @@ out_unlock:
  * The receiver accepts the message and returns without grabbing the queue
  * spinlock. Therefore an intermediate STATE_PENDING state and memory barriers
  * are necessary. The same algorithm is used for sysv semaphores, see
- * ipc/sem.c fore more details.
+ * ipc/mutex.c fore more details.
  *
  * The same algorithm is used for senders.
  */