forked from luck/tmp_suning_uos_patched
33bbc30654
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> |
||
---|---|---|
.. | ||
skas | ||
aio.h | ||
arch.h | ||
as-layout.h | ||
common-offsets.h | ||
elf_user.h | ||
frame_kern.h | ||
init.h | ||
irq_kern.h | ||
irq_user.h | ||
kern_util.h | ||
kern.h | ||
longjmp.h | ||
mem_user.h | ||
mem.h | ||
net_kern.h | ||
net_user.h | ||
os.h | ||
ptrace_user.h | ||
registers.h | ||
sigio.h | ||
um_malloc.h | ||
user.h |