[PATCH] uml: fix x86_64 with !CONFIG_FRAME_POINTER
commit50f72b57946d565db74fae71bac23f3f319311c8
authorJeff Dike <jdike@addtoit.com>
Sun, 9 Oct 2005 20:11:44 +0000 (9 16:11 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Oct 2005 15:37:59 +0000 (10 08:37 -0700)
tree88d18c8576258846723670a239e8782ddf33642e
parent3dd083255ddcfa87751fa8e32f61a9547a15a541
[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