linux/arch/um/kernel
Jeff Dike 0983a88b9f uml: install panic notifier earlier
It turns out that if there's a panic early enough, UML will just sit there in
the LED-blinking loop because the panic notifier hadn't been installed yet.

This patch installs it earlier.

It also fixes the problem which exposed the hang, namely that if you give UML
a zero-sized initrd, it will ask alloc_bootmem for zero bytes, and that will
cause the panic.

While I was in initrd.c, I gave it a style makeover.

Prompted by checkpatch, I moved a couple extern declarations of uml_exitcode
to kern_util.h.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 09:44:29 -08:00
..
skas uml: eliminate setjmp_wrapper 2008-02-05 09:44:29 -08:00
asm-offsets.c
config.c.in
dyn.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
exec.c uml: cover stubs with a VMA 2008-02-05 09:44:29 -08:00
exitcode.c uml: get declaration of simple_strtoul 2007-06-08 17:23:33 -07:00
gmon_syms.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
gprof_syms.c
init_task.c uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
initrd.c uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
irq.c uml: miscellaneous code cleanups 2008-02-05 09:44:29 -08:00
ksyms.c uml: miscellaneous code cleanups 2008-02-05 09:44:29 -08:00
Makefile uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
mem.c uml: fix page table data sizes 2008-02-05 09:44:28 -08:00
physmem.c uml: clean up TASK_SIZE usage 2008-02-05 09:44:29 -08:00
process.c uml: remove duplicate config symbol and unused file and variables 2008-02-05 09:44:29 -08:00
ptrace.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
reboot.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
sigio.c uml: rename os_{read_write}_file_k back to os_{read_write}_file 2007-05-07 12:13:03 -07:00
signal.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
smp.c uml: miscellaneous code cleanups 2008-02-05 09:44:29 -08:00
syscall.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
sysrq.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
time.c uml: use *SEC_PER_*SEC constants 2007-10-16 09:43:08 -07:00
tlb.c uml: customize tlb.h 2008-02-05 09:44:29 -08:00
trap.c uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
uaccess.c uml: get rid of do_longjmp 2007-10-16 09:43:05 -07:00
um_arch.c uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
umid.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
uml.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
vmlinux.lds.S