]> Zhao Yanbai Git Server - minix.git/commitdiff
Kernel: remove unused MF_ASYNMSG
authorDavid van Moolenbroek <david@minix3.org>
Tue, 1 Nov 2011 19:14:18 +0000 (19:14 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 1 Nov 2011 19:21:19 +0000 (19:21 +0000)
kernel/debug.c
kernel/proc.h
kernel/system/do_update.c

index 45506efaa04f94084c8e19911e98b35de69bb562..566dc03cc326182b58c81923a026d03d7394f632 100644 (file)
@@ -175,7 +175,6 @@ miscflagstr(const u32_t flags)
        str[0] = '\0';
 
        FLAG(MF_REPLY_PEND);
-       FLAG(MF_ASYNMSG);
        FLAG(MF_FULLVM);
        FLAG(MF_DELIVERMSG);
        FLAG(MF_KCALL_RESUME);
index c92d99a48fd2e4c4c127fe212917796a5cad726b..3ee52abed67b29f6739ae4acb638f547ccf8611d 100644 (file)
@@ -233,7 +233,6 @@ struct proc {
                                   We need to resume the kernel call execution
                                   now
                                 */
-#define MF_ASYNMSG     0x010   /* Asynchrous message pending */
 #define MF_FULLVM      0x020
 #define MF_DELIVERMSG  0x040   /* Copy message for him before running */
 #define MF_SIG_DELAY   0x080   /* Send signal when no longer sending */
index a476d4841d6a88d0e81e3afc07e4ea427557bde5..5cdd3cb5ede083db9660eb8585b60d779df56398 100644 (file)
@@ -137,7 +137,6 @@ PRIVATE void adjust_proc_slot(struct proc *rp, struct proc *from_rp)
   rp->p_nr = from_rp->p_nr;
   rp->p_priv = from_rp->p_priv;
   priv(rp)->s_proc_nr = from_rp->p_nr;
-  rp->p_misc_flags |= (from_rp->p_misc_flags & MF_ASYNMSG);
   rp->p_caller_q = from_rp->p_caller_q;
 }