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

Chris Meadors (clubneon@hereintown.net)
Thu, 21 Mar 2002 12:17:47 -0500


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;
}

-
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/