2002-03-21 17:21:56

by Chris Meadors

[permalink] [raw]
Subject: [PATCH] Needed to get 2.5.7 to compile and link on Alpha [3/10]

Another one liner. Should have been caught with a recursive grep when
the members of the struct were renamed in the header.

-Chris


--- linux-2.5.7/arch/alpha/kernel/osf_sys.c~ Mon Mar 18 15:37:01 2002
+++ linux-2.5.7/arch/alpha/kernel/osf_sys.c Wed Mar 20 09:45:40 2002
@@ -219,7 +219,7 @@
* isn't actually going to matter, as if the parent happens
* to change we can happily return either of the pids.
*/
- (&regs)->r20 = tsk->p_opptr->pid;
+ (&regs)->r20 = tsk->real_parent->pid;
return tsk->pid;
}