[PATCH] Needed to get 2.5.7 to compile and link on Alpha [7/10]

From: Chris Meadors (clubneon@hereintown.net)
Date: Thu Mar 21 2002 - 12:17:47 EST


Three one liners. Search and des^H^H^Hreplace.

-Chris

--- linux-2.5.7/arch/alpha/kernel/signal.c~ Mon Mar 18 15:37:14 2002
+++ linux-2.5.7/arch/alpha/kernel/signal.c Wed Mar 20 09:27:47 2002
@@ -661,8 +661,8 @@
                                 info.si_signo = signr;
                                 info.si_errno = 0;
                                 info.si_code = SI_USER;
- info.si_pid = current->p_pptr->pid;
- info.si_uid = current->p_pptr->uid;
+ info.si_pid = current->parent->pid;
+ info.si_uid = current->parent->uid;
                         }
 
                         /* If the (new) signal is now blocked, requeue it. */
@@ -701,7 +701,7 @@
                         case SIGSTOP:
                                 current->state = TASK_STOPPED;
                                 current->exit_code = signr;
- if (!(current->p_pptr->sig->action[SIGCHLD-1]
+ if (!(current->parent->sig->action[SIGCHLD-1]
                                       .sa.sa_flags & SA_NOCLDSTOP))
                                         notify_parent(current, SIGCHLD);
                                 schedule();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:25 EST