linux-stable-rt/arch
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
..
alpha [PATCH] alpha: fix kernel panic during SysRq-b 2005-09-22 22:17:34 -07:00
arm [ARM] 2932/1: Avoid the "noreturn" warning in arch/arm/kernel/traps.c 2005-09-21 22:14:05 +01:00
arm26 [PATCH] Remove arch/arm26/boot/compressed/hw-bse.c 2005-09-17 11:49:59 -07:00
cris
frv
h8300
i386 [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
ia64 [IA64] MCA recovery verify pfn_valid 2005-09-22 13:27:59 -07:00
m32r [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
m68k
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
parisc
ppc [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
ppc64 [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
s390 [PATCH] s390: kernel stack corruption 2005-09-17 11:49:59 -07:00
sh
sh64
sparc
sparc64 [SPARC64]: Verify vmalloc TLB misses more strictly. 2005-09-20 12:18:38 -07:00
um [PATCH] uml: replace printk with "stack-friendly" printf - to report console failure 2005-09-22 22:17:37 -07:00
v850
x86_64 [PATCH] update URL for HPET spec. 2005-09-21 10:12:18 -07:00
xtensa [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00