]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitfad1c45c939bb246a488be1fa06f539e85b80545
tree2a368da0e73817083caed84f4fe8085fcb654554
parent71dc036247573e377703233af289019f4aa3176e
[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