diff options
author | Damien Zammit <damien@zamaudio.com> | 2017-09-02 20:30:39 +1000 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-17 00:40:36 +0000 |
commit | 693315160e84988028abca5ca6c1d311a479717a (patch) | |
tree | a68f898a04202c193a5f2e04797d078fb1a9ef73 /src | |
parent | 590cfc5d63fe9c2aa9ddb8df499759636a6d4300 (diff) | |
download | coreboot-693315160e84988028abca5ca6c1d311a479717a.tar.xz |
cpu/x86/sipi_vector.S: Use correct op suffix
clang wont compile `cmp` asm opcode because it's ambiguous,
use the correct op suffix `cmpl`
Change-Id: I82da5a9065b382e182dc7d502c7dca2fc717543b
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/21359
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/x86/sipi_vector.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/sipi_vector.S b/src/cpu/x86/sipi_vector.S index 1abf3f5d3b..b40ea76f76 100644 --- a/src/cpu/x86/sipi_vector.S +++ b/src/cpu/x86/sipi_vector.S @@ -132,7 +132,7 @@ _start: jnz microcode_done /* Determine if parallel microcode loading is allowed. */ - cmp $0xffffffff, microcode_lock + cmpl $0xffffffff, microcode_lock je load_microcode /* Protect microcode loading. */ @@ -153,7 +153,7 @@ load_microcode: popa /* Unconditionally unlock microcode loading. */ - cmp $0xffffffff, microcode_lock + cmpl $0xffffffff, microcode_lock je microcode_done xor %eax, %eax |