Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] uml: S390 preparation, save an extra register

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>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Bodo Stroesser and committed by
Linus Torvalds
804c2415 82c1c11b

+4
+4
arch/um/kernel/tt/syscall_user.c
··· 63 63 64 64 UPT_SYSCALL_NR(TASK_REGS(task)) = PT_SYSCALL_NR(proc_regs); 65 65 66 + #ifdef UPT_ORIGGPR2 67 + UPT_ORIGGPR2(TASK_REGS(task)) = REGS_ORIGGPR2(proc_regs); 68 + #endif 69 + 66 70 if(((unsigned long *) PT_IP(proc_regs) >= &_stext) && 67 71 ((unsigned long *) PT_IP(proc_regs) <= &_etext)) 68 72 tracer_panic("I'm tracing myself and I can't get out");