* [uml-devel] [PATCH 5/12] UML - S390 preparation, save an extra register
@ 2005-05-06 22:49 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-05-06 22:49 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, user-mode-linux-devel, Bodo Stroesser
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
s390 tt-mode needs to save not only syscall number, but an
further register also.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
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");
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-06 23:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-06 22:49 [uml-devel] [PATCH 5/12] UML - S390 preparation, save an extra register Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox