kernel-ark/arch/um
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
..
drivers uml: fix mconsole stop 2008-02-05 09:44:29 -08:00
include uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
kernel uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
os-Linux uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
scripts uml: throw out CONFIG_MODE_TT 2007-10-16 09:43:05 -07:00
sys-i386 uml: simplify SIGSEGV handling 2008-02-05 09:44:28 -08:00
sys-ia64
sys-ppc kbuild: enable 'make AFLAGS=...' to add additional options to AS 2007-10-15 21:59:31 +02:00
sys-x86_64 uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
defconfig uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Kconfig uml: remove duplicate config symbol and unused file and variables 2008-02-05 09:44:29 -08:00
Kconfig.char uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.debug uml: GPROF needs to depend on FRAME_POINTER 2008-02-05 09:44:25 -08:00
Kconfig.i386 uml: keep UML Kconfig in sync with x86 2007-12-03 08:13:17 -08:00
Kconfig.net uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.x86_64 uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Makefile uml: fx command-line CFLAGS and LDFLAGS support 2008-02-05 09:44:29 -08:00
Makefile-i386 no need to mess with KBUILD_CFLAGS on uml-i386 anymore 2007-12-05 09:25:20 -08:00
Makefile-ia64
Makefile-os-Linux kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
Makefile-ppc
Makefile-skas
Makefile-x86_64 x86 merge fallout: uml 2007-10-29 07:41:32 -07:00