]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: fix x86_64 with !CONFIG_FRAME_POINTER
authorJeff Dike <jdike@addtoit.com>
Sun, 9 Oct 2005 20:11:44 +0000 (16:11 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Oct 2005 15:37:59 +0000 (08:37 -0700)
commit929c066ea5ee3e05f28e46f89d9e4df04a64b8ec
tree88d18c8576258846723670a239e8782ddf33642e
parentb5fc4ba250f796b45d20901cf9aecaf78a547cbf
[PATCH] uml: fix x86_64 with !CONFIG_FRAME_POINTER

UML/x86_64 doesn't run when built with frame pointers disabled.  There
was an implicit frame pointer assumption in the stub segfault handler.
With frame pointers disabled, UML dies on handling its first page fault.

The container-of part of this is from Paolo Giarrusso <blaisorblade@yahoo.it>.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/sys-x86_64/stub_segv.c