linux/arch/um
Paolo 'Blaisorblade' Giarrusso fac97ae0b1 [PATCH] uml: replace printk with "stack-friendly" printf - to report console failure
User get *a lot* confused when consoles don't work but we don't report
anything.  And, as reported in the comment, using printk to report "your
console doesn't work" isn't likely to go that far.

Fix the problem on the base of this: stack consumption by host printf().  Use
kernel sprintf() and os_write_file, using a wild guess that one page will be
enough for the message, to preallocate the buffer with kmalloc().

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-22 22:17:37 -07:00
..
drivers [PATCH] uml: replace printk with "stack-friendly" printf - to report console failure 2005-09-22 22:17:37 -07:00
include [PATCH] strlcat: use for uml umid.c 2005-09-22 22:17:36 -07:00
kernel [PATCH] uml: use GFP_ATOMIC for allocations under spinlocks. 2005-09-22 22:17:37 -07:00
os-Linux [PATCH] uml: comment about cast build fix 2005-09-21 16:16:30 -07:00
scripts
sys-i386 [PATCH] uml: fix modify_ldt - missing break in switch 2005-09-21 16:16:29 -07:00
sys-ia64
sys-ppc
sys-x86_64
util
config.release
defconfig
Kconfig
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] uml: UML/i386 cmpxchg fix 2005-09-17 11:50:01 -07:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile [PATCH] uml: Fix conflict between libc and ipv6 2005-09-21 16:16:30 -07:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64