]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/msg.h
ide: add ide_init_port_hw() helper
[linux-2.6-omap-h63xx.git] / include / linux / msg.h
index acc7c174ff0091aeb8f46bed30e378633c48ef21..10a3d5a1abffb30fd9b158148b26379416cd1fe0 100644 (file)
@@ -77,7 +77,6 @@ struct msg_msg {
 /* one msq_queue structure for each present queue on the system */
 struct msg_queue {
        struct kern_ipc_perm q_perm;
-       int q_id;
        time_t q_stime;                 /* last msgsnd time */
        time_t q_rtime;                 /* last msgrcv time */
        time_t q_ctime;                 /* last change time */
@@ -92,6 +91,12 @@ struct msg_queue {
        struct list_head q_senders;
 };
 
+/* Helper routines for sys_msgsnd and sys_msgrcv */
+extern long do_msgsnd(int msqid, long mtype, void __user *mtext,
+                       size_t msgsz, int msgflg);
+extern long do_msgrcv(int msqid, long *pmtype, void __user *mtext,
+                       size_t msgsz, long msgtyp, int msgflg);
+
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_MSG_H */