diff mbox

[07/10] opal: Change abort to assert

Message ID 20150210151558.14819.36668.stgit@thinktux.in.ibm.com
State Rejected
Headers show

Commit Message

Ananth N Mavinakayanahalli Feb. 10, 2015, 3:15 p.m. UTC
... so we get good debug data on TI

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
 core/opal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/core/opal.c b/core/opal.c
index fc18db3..8b6a8a0 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -88,7 +88,7 @@  void opal_trace_entry(struct stack_frame *eframe)
 	if (this_cpu()->pir != mfspr(SPR_PIR)) {
 		printf("CPU MISMATCH ! PIR=%04lx cpu @%p -> pir=%04x\n",
 		       mfspr(SPR_PIR), this_cpu(), this_cpu()->pir);
-		abort();
+		assert(false);
 	}
 	if (eframe->gpr[0] > OPAL_LAST)
 		nargs = 0;