From: Bodo Stroesser <[email protected]>
s390 tt-mode needs to save not only syscall number, but an
further register also.
Signed-off-by: Bodo Stroesser <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Index: linux-2.6.12-rc3-mm/arch/um/kernel/tt/syscall_user.c
===================================================================
--- linux-2.6.12-rc3-mm.orig/arch/um/kernel/tt/syscall_user.c 2005-05-06 14:42:20.000000000 -0400
+++ linux-2.6.12-rc3-mm/arch/um/kernel/tt/syscall_user.c 2005-05-06 14:49:52.000000000 -0400
@@ -63,6 +63,10 @@
UPT_SYSCALL_NR(TASK_REGS(task)) = PT_SYSCALL_NR(proc_regs);
+#ifdef UPT_ORIGGPR2
+ UPT_ORIGGPR2(TASK_REGS(task)) = REGS_ORIGGPR2(proc_regs);
+#endif
+
if(((unsigned long *) PT_IP(proc_regs) >= &_stext) &&
((unsigned long *) PT_IP(proc_regs) <= &_etext))
tracer_panic("I'm tracing myself and I can't get out");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]