Commit 9513f1f8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k ifpsp060

68060 Integer Support Package: Fix _060_real_lock_page(): test %d0 before
actually using it (from Roman Zippel)
Signed-off-by: default avatarRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 93c4f6c1
......@@ -204,11 +204,12 @@ _060_real_cas2:
_060_real_lock_page:
move.l %d2,-(%sp)
| load sfc/dfc
moveq #5,%d0
tst.b %d0
jne 1f
moveq #1,%d0
1: movec.l %dfc,%d2
jra 2f
1: moveq #5,%d0
2: movec.l %dfc,%d2
movec.l %d0,%dfc
movec.l %d0,%sfc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment