xen: panic rather than BUG if an error is encountered decompressing a bzImage
PATCH 1/1 xen: panic rather than BUG if an error is encountered decompressing a bzImage
# HG changeset patch
# User Ian Campbell <[email protected]>
# Date 1236327532 0
# Node ID f3c3aed8177e176619ebc285b9815e5478b595d8
# Parent 68a08b6e0200308a3e31688d170043087e66b7af
xen: panic rather than BUG if an error is encountered decompressing a bzImage
This gives a more useful error message without an unnecessary stack dump.
Noticed by Jeremy Fitzhardinge.
Signed-off-by Ian Campbell <[email protected]>
xen/arch/x86/bzimage.c +1 -2
@@ -58,8 +58,7 @@ static void flush_window(void);static __init void error (char *x) { -printk ("%s\n" , x); -BUG (); +panic ("%s\n" , x); }static __init int fill_inbuf (void )