patch-2.1.45 linux/arch/sparc64/kernel/ptrace.c

Next file: linux/arch/sparc64/kernel/setup.c
Previous file: linux/arch/sparc64/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/arch/sparc64/kernel/ptrace.c linux/arch/sparc64/kernel/ptrace.c
@@ -742,7 +742,7 @@
 		cregs->tstate |= psr_to_tstate_icc(psr);
                	if(!((pc | npc) & 3)) {
 			cregs->tpc = pc;
-			cregs->tpc = npc;
+			cregs->tnpc = npc;
 		}
 		cregs->y = y;
 		for(i = 1; i < 16; i++)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov