patch-2.4.21 linux-2.4.21/arch/alpha/kernel/ptrace.c

Next file: linux-2.4.21/arch/alpha/kernel/setup.c
Previous file: linux-2.4.21/arch/alpha/kernel/proto.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/alpha/kernel/ptrace.c linux-2.4.21/arch/alpha/kernel/ptrace.c
@@ -102,7 +102,9 @@
 
 	if (regno == 30) {
 		addr = &task->thread.usp;
-	} else if (regno == 31 || regno > 64) {
+	} else if (regno == 65) {
+		addr = &task->thread.unique;
+	} else if (regno == 31 || regno > 65) {
 		zero = 0;
 		addr = &zero;
 	} else {

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