1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-19 09:32:32 +00:00
linux/arch/um/os-Linux/skas
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
..
Makefile uml: move sig_handler_common_skas 2008-02-05 09:44:30 -08:00
mem.c um: Remove SKAS3/4 support 2015-04-13 21:00:53 +02:00
process.c um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00