[Skiboot] [PATCH 07/10] opal: Change abort to assert
Ananth N Mavinakayanahalli
ananth at in.ibm.com
Wed Feb 11 02:15:58 AEDT 2015
... so we get good debug data on TI
Signed-off-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
---
core/opal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the Skiboot
mailing list