]> err.no Git - linux-2.6/commitdiff
[PARISC] [BUGFIX] nullify branch delay slot of the jump back to
authorKyle McMartin <kyle@parisc-linux.org>
Mon, 28 Aug 2006 19:42:07 +0000 (15:42 -0400)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:47:15 +0000 (06:47 -0600)
intr_restore in intr_do_preempt. This prevents the execution
of an unwanted insn...

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/entry.S

index d55b45d54f4dc3be619f29ca6d26dfd86596939e..340b5e8d67bad1197b75b4ec5320a932575f21e4 100644 (file)
@@ -1069,7 +1069,7 @@ intr_do_preempt:
        BL      preempt_schedule_irq, %r2
        nop
 
-       b       intr_restore            /* ssm PSW_SM_I done by intr_restore */
+       b,n     intr_restore            /* ssm PSW_SM_I done by intr_restore */
 #endif /* CONFIG_PREEMPT */
 
        .import do_signal,code