rep; cmpsw -> repe; cmpsw
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 22:47:43 +0000 (14:47 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 22:47:43 +0000 (14:47 -0800)
Same instruction, but repe is more correct for cmpsw

mbr/gptmbr.S

index a6b2607..430841b 100644 (file)
@@ -153,7 +153,7 @@ find_part:
        addw    $16,%si
        movw    $bootguid,%di
        movw    $8,%cx
-       rep; cmpsw
+       repe; cmpsw
        popw    %si
        popw    %cx
        je found_part