patch-2.4.22 linux-2.4.22/arch/mips/kernel/irixelf.c

Next file: linux-2.4.22/arch/mips/kernel/irixinv.c
Previous file: linux-2.4.22/arch/mips/kernel/ipc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/kernel/irixelf.c linux-2.4.22/arch/mips/kernel/irixelf.c
@@ -574,7 +574,7 @@
 
 	pp = (struct prda *) v;
 	pp->prda_sys.t_pid  = current->pid;
-	pp->prda_sys.t_prid = read_32bit_cp0_register (CP0_PRID);
+	pp->prda_sys.t_prid = read_c0_prid();
 	pp->prda_sys.t_rpid = current->pid;
 
 	/* We leave the rest set to zero */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)