From patchwork Tue Feb 10 15:14:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ananth N Mavinakayanahalli X-Patchwork-Id: 438433 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3C185140151 for ; Wed, 11 Feb 2015 02:13:53 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 1DD0F1A0475 for ; Wed, 11 Feb 2015 02:13:53 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com [122.248.162.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 2A78C1A02D2 for ; Wed, 11 Feb 2015 02:13:48 +1100 (AEDT) Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Feb 2015 20:43:47 +0530 Received: from d28dlp02.in.ibm.com (9.184.220.127) by e28smtp09.in.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 10 Feb 2015 20:43:45 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 703943940057 for ; Tue, 10 Feb 2015 20:43:45 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1AFDiPm393626 for ; Tue, 10 Feb 2015 20:43:44 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1AFDih0029128 for ; Tue, 10 Feb 2015 20:43:44 +0530 Received: from thinktux.in.ibm.com ([9.79.200.135]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t1AFDicT029104 for ; Tue, 10 Feb 2015 20:43:44 +0530 To: skiboot@lists.ozlabs.org From: Ananth N Mavinakayanahalli Date: Tue, 10 Feb 2015 20:44:55 +0530 Message-ID: <20150210151455.14819.29584.stgit@thinktux.in.ibm.com> In-Reply-To: <20150210151237.14819.6035.stgit@thinktux.in.ibm.com> References: <20150210151237.14819.6035.stgit@thinktux.in.ibm.com> User-Agent: StGit/0.16 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15021015-0033-0000-0000-000004473A7F Subject: [Skiboot] [PATCH 02/10] cpu: Change abort to assert X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" ... so we get good debug data on a TI Signed-off-by: Ananth N Mavinakayanahalli --- 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)