diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2013-01-30 15:05:19 -0600 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2013-01-30 22:36:25 +0100 |
commit | bc3abbbaf05123f87cee143845868bf6b95fdd3e (patch) | |
tree | 7c8066f68b2c5c22c3be1a4b33ccfa378de4db5f /src/console/vtxprintf.c | |
parent | b7e05358621344e0d777853c34960944d680f804 (diff) |
armv7: don't hang on divide by zero
People make mistakes. Hanging the box is not a good reason to kill the firmware,
esp. since this is probably happening in a printk.
The only issue with the recursive call to printk is that we may
deadlock if we have locked something. But we can at least try.
Hanging is certainly not what we want ...
Change-Id: Ib3bc87bc395ae89e115cf6d042f4167856422ca1
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/2233
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/console/vtxprintf.c')
0 files changed, 0 insertions, 0 deletions