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
-  Lines: 9
 -  Date:
2003-08-25 04:44:40.000000000 -0700
 -  Orig file: 
linux-2.4.21/arch/mips/kernel/irixelf.c
 -  Orig date: 
2002-11-28 15:53:10.000000000 -0800
 
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)