X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=ipc%2Fmqueue.c;h=41ecbd440feda782dd3ac9949632458c16fd4de8;hb=bcd1e830a5ac37d708647d492a1436a8a9babb07;hp=fd2e26b6f96619fa88d93ed6b4437a257971a52f;hpb=c5111f504d2a9b0d258d7c4752b4093523315989;p=powerpc.git diff --git a/ipc/mqueue.c b/ipc/mqueue.c index fd2e26b6f9..41ecbd440f 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -25,6 +25,8 @@ #include #include #include +#include + #include #include "util.h" @@ -51,7 +53,6 @@ #define HARD_MSGMAX (131072/sizeof(void*)) #define DFLT_MSGSIZEMAX 8192 /* max message size */ -#define NOTIFY_COOKIE_LEN 32 struct ext_wait_queue { /* queue of sleeping tasks */ struct task_struct *task; @@ -761,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/sem.c for more details. * * The same algorithm is used for senders. */