Skip to contentSkip to conversation

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

PATCH New Chris Meadors 1 participant 1 message Mar 21, 2002 Alpha port

lore
Share & tools
lore
#0 lore raw

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

arch/alpha/kernel/osf_sys.c renamed from arch/alpha/kernel/osf_sys.c~ +1 -1
@@ -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;
 }