[Skiboot] [PATCH 02/10] cpu: Change abort to assert

Ananth N Mavinakayanahalli ananth at in.ibm.com
Wed Feb 11 02:14:55 AEDT 2015


... so we get good debug data on a TI

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

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)



More information about the Skiboot mailing list