From patchwork Tue Feb 10 15:15:58 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: 438438 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 622D0140151 for ; Wed, 11 Feb 2015 02:15:40 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 510231A04E1 for ; Wed, 11 Feb 2015 02:15:40 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 779101A0034 for ; Wed, 11 Feb 2015 02:15:38 +1100 (AEDT) Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Feb 2015 01:15:37 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp08.au.ibm.com (202.81.31.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 11 Feb 2015 01:15:36 +1000 Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 2833B2CE804E for ; Wed, 11 Feb 2015 02:15:36 +1100 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1AFFNHH43581692 for ; Wed, 11 Feb 2015 02:15:31 +1100 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1AFF2AJ019221 for ; Wed, 11 Feb 2015 02:15:02 +1100 Received: from thinktux.in.ibm.com ([9.79.200.135]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t1AFF1k8018562 for ; Wed, 11 Feb 2015 02:15:02 +1100 To: skiboot@lists.ozlabs.org From: Ananth N Mavinakayanahalli Date: Tue, 10 Feb 2015 20:45:58 +0530 Message-ID: <20150210151558.14819.36668.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-0000011CBDA2 Subject: [Skiboot] [PATCH 07/10] opal: 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 --- core/opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/opal.c b/core/opal.c index fc18db3..8b6a8a0 100644 --- a/core/opal.c +++ b/core/opal.c @@ -88,7 +88,7 @@ void opal_trace_entry(struct stack_frame *eframe) if (this_cpu()->pir != mfspr(SPR_PIR)) { printf("CPU MISMATCH ! PIR=%04lx cpu @%p -> pir=%04x\n", mfspr(SPR_PIR), this_cpu(), this_cpu()->pir); - abort(); + assert(false); } if (eframe->gpr[0] > OPAL_LAST) nargs = 0;