[Skiboot] [PATCH 06/10] lock: Change abort to assert
Ananth N Mavinakayanahalli
ananth at in.ibm.com
Wed Feb 11 02:15:35 AEDT 2015
... so we get good debug data on TI
Signed-off-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
---
core/lock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/lock.c b/core/lock.c
index d916141..6f9e197 100644
--- a/core/lock.c
+++ b/core/lock.c
@@ -35,7 +35,7 @@ static void lock_error(struct lock *l, const char *reason, uint16_t err)
reason, l, l->lock_val);
op_display(OP_FATAL, OP_MOD_LOCK, err);
- abort();
+ assert(false);
}
static void lock_check(struct lock *l)
More information about the Skiboot
mailing list