From patchwork Tue Feb 10 15:16:43 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: 438439 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 C7BEC140151 for ; Wed, 11 Feb 2015 02:15:46 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id B456C1A0766 for ; Wed, 11 Feb 2015 02:15:46 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from e28smtp08.in.ibm.com (e28smtp08.in.ibm.com [122.248.162.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 095C21A0479 for ; Wed, 11 Feb 2015 02:15:43 +1100 (AEDT) Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Feb 2015 20:45:41 +0530 Received: from d28dlp02.in.ibm.com (9.184.220.127) by e28smtp08.in.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 10 Feb 2015 20:45:39 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 11B353940061 for ; Tue, 10 Feb 2015 20:45:39 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1AFFWZx7995550 for ; Tue, 10 Feb 2015 20:45:33 +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 t1AFFWue003805 for ; Tue, 10 Feb 2015 20:45:32 +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 t1AFFV31003784 for ; Tue, 10 Feb 2015 20:45:31 +0530 To: skiboot@lists.ozlabs.org From: Ananth N Mavinakayanahalli Date: Tue, 10 Feb 2015 20:46:43 +0530 Message-ID: <20150210151643.14819.62024.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-0029-0000-0000-0000046746F8 Subject: [Skiboot] [PATCH 09/10] hdata: 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 TI Signed-off-by: Ananth N Mavinakayanahalli --- 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); } }