diff mbox

HPMC in lba_pat_out8 on rp3440

Message ID 20101114234212.GA20422@hiauly1.hia.nrc.ca (mailing list archive)
State Rejected
Headers show

Commit Message

John David Anglin Nov. 14, 2010, 11:42 p.m. UTC
None
diff mbox

Patch

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