[PATCH] uml: fix static binary segfault
authorJeff Dike <jdike@addtoit.com>
Mon, 10 Jul 2006 11:45:06 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:23 +0000 (13:24 -0700)
commit23bbd586ed7894982fd9323f63b2065afbb77773
tree6fec4b69d2c4bafd134efc886f700654606c56fe
parent8633c2331e738218c7356633e1c4adb75726225f
[PATCH] uml: fix static binary segfault

When UML is built as a static binary, it segfaults when run.  The reason is
that a memory hole that is present in dynamic binaries isn't there in static
binaries, and it contains essential stuff.

This fix removes the code which maps some anonymous memory into that hole and
cleans up some related code.

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>
arch/um/include/skas/mode_kern_skas.h
arch/um/include/tt/mode_kern_tt.h
arch/um/kernel/mem.c
arch/um/kernel/physmem.c
arch/um/kernel/skas/mem.c
arch/um/kernel/tt/mem.c
arch/um/kernel/um_arch.c
arch/um/kernel/uml.lds.S