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

From: tip-bot2 for Mikulas Patocka
Date: Tue Jan 03 2023 - 12:06:38 EST


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@xxxxxxxxxx>
AuthorDate: Tue, 03 Jan 2023 10:24:11 -05:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
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@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
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)