提交 903be1c5 编写于 作者: W Walter T Gruczka 提交者: Linus Torvalds

m68knommu: fix coldfire interrupt exit path

Remove bogus conditional jump in return from interrupt path.  Reorder the code
path now that is not there.
Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b9cf92ed
...@@ -197,14 +197,13 @@ ENTRY(fasthandler) ...@@ -197,14 +197,13 @@ ENTRY(fasthandler)
RESTORE_LOCAL RESTORE_LOCAL
ENTRY(ret_from_interrupt) ENTRY(ret_from_interrupt)
jeq 2f
1:
RESTORE_ALL
2:
moveb %sp@(PT_SR),%d0 moveb %sp@(PT_SR),%d0
andl #0x7,%d0 andl #0x7,%d0
jhi 1b jeq 1f
RESTORE_ALL
1:
/* check if we need to do software interrupts */ /* check if we need to do software interrupts */
movel irq_stat+CPUSTAT_SOFTIRQ_PENDING,%d0 movel irq_stat+CPUSTAT_SOFTIRQ_PENDING,%d0
jeq ret_from_exception jeq ret_from_exception
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册