diff mbox

[09/10] hdata: Change abort to assert

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

Commit Message

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

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
 hdata/memory.c |    2 +-
 hdata/paca.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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);
 	}
 }