kernel-fxtec-pro1x/arch/um/os-Linux
Thomas Meyer 33bbc30654 um: Move uml_postsetup in the init_thread stack
atomic_notifier_chain_register() and uml_postsetup() do call kernel code
that rely on the "current" kernel macro and a valid task_struct resp.
thread_info struct. Give those functions a valid stack by moving
uml_postsetup() in the init_thread stack. This moves enables a panic()
call in this early code to generate a valid stacktrace, instead of
crashing.
E.g. when an UML kernel is started with an initrd but too few physical
memory the panic() call get's actually processed.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-04-13 21:17:44 +02:00
..
drivers um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
skas um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00
aio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
elf_aux.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
execvp.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
file.c um: Memory corruption on startup 2014-04-20 23:57:21 +02:00
helper.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
internal.h um: pass siginfo to guest process 2012-08-02 00:49:17 +02:00
irq.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
main.c um: Missing pipe handling 2014-04-20 23:13:30 +02:00
Makefile um: use the right ifdef around exports in user_syms.c 2012-03-25 00:29:55 +01:00
mem.c uml: Simplify tempdir logic. 2014-04-20 23:10:44 +02:00
process.c um: Remove SKAS3/4 support 2015-04-13 21:00:53 +02:00
registers.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
signal.c um: Make stack trace reliable against kernel mode faults 2013-11-17 11:27:30 +01:00
start_up.c um: Remove SKAS3/4 support 2015-04-13 21:00:53 +02:00
time.c nohz: Rename CONFIG_NO_HZ to CONFIG_NO_HZ_COMMON 2013-04-03 13:56:03 +02:00
tty.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
user_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
util.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00