From patchwork Sun Nov 14 23:42:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 323902 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAENgLKI011238 for ; Sun, 14 Nov 2010 23:42:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755522Ab0KNXmU (ORCPT ); Sun, 14 Nov 2010 18:42:20 -0500 Received: from hiauly1.hia.nrc.ca ([132.246.100.193]:2555 "EHLO hiauly1.hia.nrc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361Ab0KNXmS (ORCPT ); Sun, 14 Nov 2010 18:42:18 -0500 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 1BF724F31; Sun, 14 Nov 2010 18:42:14 -0500 (EST) Date: Sun, 14 Nov 2010 18:42:14 -0500 From: John David Anglin To: Grant Grundler Cc: dave.anglin@nrc-cnrc.gc.ca, linux-parisc@vger.kernel.org Subject: Re: HPMC in lba_pat_out8 on rp3440 Message-ID: <20101114234212.GA20422@hiauly1.hia.nrc.ca> Reply-To: John David Anglin References: <20101104153507.GA7198@lackof.org> <20101107193156.F14EF4E1C@hiauly1.hia.nrc.ca> <20101110033527.GA24762@hiauly1.hia.nrc.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20101110033527.GA24762@hiauly1.hia.nrc.ca> Organization: nrc.ca User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 14 Nov 2010 23:42:22 +0000 (UTC) diff --git a/arch/parisc/kernel/unaligned.c b/arch/parisc/kernel/unaligned.c index 92d977b..f13ed88 100644 --- a/arch/parisc/kernel/unaligned.c +++ b/arch/parisc/kernel/unaligned.c @@ -212,6 +212,8 @@ static int emulate_ldd(struct pt_regs *regs, int toreg, int DPRINTF("load " RFMT ":" RFMT " to r%d for 8 bytes\n", regs->isr, regs->ior, toreg); + BUG_ON (regs->isr == 0); + #ifdef CONFIG_PA20 #ifndef CONFIG_64BIT