]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: Fix sysrq-r support for skas mode
authorAllan Graves <allan.graves@oracle.com>
Tue, 4 Oct 2005 18:53:52 +0000 (14:53 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 4 Oct 2005 20:22:01 +0000 (13:22 -0700)
commit77e0399613a02172376b8ff84b3cc781618357e7
tree2a368da0e73817083caed84f4fe8085fcb654554
parent10b81bfcc0c51f04385f584748d4feac58280339
[PATCH] uml: Fix sysrq-r support for skas mode

The old code had the IP and SP coming from the registers in the thread
struct, which are completely wrong since those are the userspace
registers.  This fixes that by pulling the correct values from the
jmp_buf in which the kernel state of each thread is stored.

Signed-off-by: Allan Graves <allan.graves@oracle.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/include/registers.h
arch/um/include/sysdep-x86_64/ptrace.h
arch/um/kernel/sysrq.c
arch/um/os-Linux/sys-i386/registers.c
arch/um/os-Linux/sys-x86_64/registers.c
arch/um/sys-i386/sysrq.c
include/asm-um/processor-generic.h
include/asm-um/processor-i386.h
include/asm-um/processor-x86_64.h