All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] x86: sipi_vector: Append appropriate suffixes
@ 2020-07-28  9:56 Andy Shevchenko
  2020-07-28  9:56 ` [PATCH v1 2/2] x86: call32: " Andy Shevchenko
  2020-08-01  0:26 ` [PATCH v1 1/2] x86: sipi_vector: " Bin Meng
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Shevchenko @ 2020-07-28  9:56 UTC (permalink / raw)
  To: u-boot

Assembler is not happy:

arch/x86/cpu/sipi_vector.S: Assembler messages:
arch/x86/cpu/sipi_vector.S:134: Warning: no instruction mnemonic suffix given and no register operands; using default for `cmp'
arch/x86/cpu/sipi_vector.S:139: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
arch/x86/cpu/sipi_vector.S:157: Warning: no instruction mnemonic suffix given and no register operands; using default for `cmp'

Fix this by adding appropriate suffixes to the assembler commands.

Fixes: 45b5a37836d5 ("x86: Add multi-processor init")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/x86/cpu/sipi_vector.S | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/cpu/sipi_vector.S b/arch/x86/cpu/sipi_vector.S
index 40cc27f1e1d0..fa1e6cb19af4 100644
--- a/arch/x86/cpu/sipi_vector.S
+++ b/arch/x86/cpu/sipi_vector.S
@@ -131,12 +131,12 @@ ap_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 */
 lock_microcode:
-	lock bts $0, microcode_lock
+	lock btsl $0, microcode_lock
 	jc	lock_microcode
 
 load_microcode:
@@ -154,7 +154,7 @@ load_microcode:
 	popa
 
 	/* Unconditionally unlock microcode loading */
-	cmp	$0xffffffff, microcode_lock
+	cmpl	$0xffffffff, microcode_lock
 	je	microcode_done
 
 	xor	%eax, %eax
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-03  2:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28  9:56 [PATCH v1 1/2] x86: sipi_vector: Append appropriate suffixes Andy Shevchenko
2020-07-28  9:56 ` [PATCH v1 2/2] x86: call32: " Andy Shevchenko
2020-08-01  0:27   ` Bin Meng
2020-08-03  2:45     ` Bin Meng
2020-08-01  0:26 ` [PATCH v1 1/2] x86: sipi_vector: " Bin Meng
2020-08-03  2:45   ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.