]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] bootwrapper: Add a fatal error helper
authorMilton Miller <miltonm@bga.com>
Wed, 21 Mar 2007 15:02:44 +0000 (09:02 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 05:11:20 +0000 (15:11 +1000)
commit9837f7ea24b3cfe3a998de360ff5250d57a26c5f
tree77e88aa9ce939ba895d49c17ca7dcb28fe8672df
parent42825b2129d2c3d22adc3e15cbf5f46140aa869e
[POWERPC] bootwrapper: Add a fatal error helper

Add a macro fatal that calls printf then exit.  User must include stdio.h.

Typically replaces 3 lines with 1, although I added back some whitespace.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/gunzip_util.c
arch/powerpc/boot/main.c
arch/powerpc/boot/of.c
arch/powerpc/boot/ops.h