[Skiboot] [PATCH 09/10] hdata: Change abort to assert
Ananth N Mavinakayanahalli
ananth at in.ibm.com
Wed Feb 11 02:16:43 AEDT 2015
... so we get good debug data on TI
Signed-off-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
---
hdata/memory.c | 2 +-
hdata/paca.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hdata/memory.c b/hdata/memory.c
index 18beb3b..4aa7891 100644
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -376,7 +376,7 @@ void memory_parse(void)
{
if (!__memory_parse(dt_root)) {
prerror("MS VPD: Failed memory init !\n");
- abort();
+ assert(false);
}
}
diff --git a/hdata/paca.c b/hdata/paca.c
index d4360e7..8dfbb68 100644
--- a/hdata/paca.c
+++ b/hdata/paca.c
@@ -317,6 +317,6 @@ void paca_parse(void)
{
if (!__paca_parse()) {
prerror("CPU: Initial CPU parsing failed\n");
- abort();
+ assert(false);
}
}
More information about the Skiboot
mailing list