[tip: x86/urgent] x86/asm: Fix an assembler warning with current binutils

tip-bot2 for Mikulas Patocka posted 1 patch 2 years, 8 months ago
arch/x86/lib/iomap_copy_64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: x86/urgent] x86/asm: Fix an assembler warning with current binutils
Posted by tip-bot2 for Mikulas Patocka 2 years, 8 months ago
The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     55d235361fccef573990dfa5724ab453866e7816
Gitweb:        https://git.kernel.org/tip/55d235361fccef573990dfa5724ab453866e7816
Author:        Mikulas Patocka <mpatocka@redhat.com>
AuthorDate:    Tue, 03 Jan 2023 10:24:11 -05:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 03 Jan 2023 17:55:11 +01:00

x86/asm: Fix an assembler warning with current binutils

Fix a warning: "found `movsd'; assuming `movsl' was meant"

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org
---
 arch/x86/lib/iomap_copy_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/lib/iomap_copy_64.S b/arch/x86/lib/iomap_copy_64.S
index a1f9416..6ff2f56 100644
--- a/arch/x86/lib/iomap_copy_64.S
+++ b/arch/x86/lib/iomap_copy_64.S
@@ -10,6 +10,6 @@
  */
 SYM_FUNC_START(__iowrite32_copy)
 	movl %edx,%ecx
-	rep movsd
+	rep movsl
 	RET
 SYM_FUNC_END(__iowrite32_copy)