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

Message ID 167276532482.4906.17722576860770017597.tip-bot2@tip-bot2
State New
Headers
Series [tip:,x86/urgent] x86/asm: Fix an assembler warning with current binutils |

Commit Message

tip-bot2 for Thomas Gleixner Jan. 3, 2023, 5:02 p.m. UTC
  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(-)
  

Patch

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)