diff mbox

[02/10] cpu: Change abort to assert

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

Commit Message

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

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

Patch

diff --git a/core/cpu.c b/core/cpu.c
index cd29957..1d9682f 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -315,7 +315,7 @@  void cpu_remove_node(const struct cpu_thread *t)
 		}
 	}
 	prerror("CPU: Could not find cpu node %i to remove!\n", t->pir);
-	abort();
+	assert(false);
 }
 
 void cpu_disable_all_threads(struct cpu_thread *cpu)