]> err.no Git - linux-2.6/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)
commit6a923216aac01d0f3eeea606377b81541f1a2773
tree77e88aa9ce939ba895d49c17ca7dcb28fe8672df
parent3771f2d9a46ca3b57e473afe929196efad7f3aa6
[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