summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso2005-09-23 06:44:22 +0200
committerLinus Torvalds2005-09-23 07:17:37 +0200
commitfac97ae0b1a206e2952baf1f9eb46305d673adc6 (patch)
treed44e4d9d414c4fbef057e4991dbb60a4c31baa5d /include/asm-xtensa
parent[PATCH] uml: use GFP_ATOMIC for allocations under spinlocks. (diff)
downloadkernel-qcow2-linux-fac97ae0b1a206e2952baf1f9eb46305d673adc6.tar.gz
kernel-qcow2-linux-fac97ae0b1a206e2952baf1f9eb46305d673adc6.tar.xz
kernel-qcow2-linux-fac97ae0b1a206e2952baf1f9eb46305d673adc6.zip
[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>
Diffstat (limited to 'include/asm-xtensa')
0 files changed, 0 insertions, 0 deletions