diff mbox series

[v1,2/3] x86/boot: the decompressor must supply boot_param from RDI

Message ID 20250623081622.1282-1-khaliidcaliy@gmail.com
State New
Headers show
Series None | expand

Commit Message

Khalid Ali June 23, 2025, 8:16 a.m. UTC
From: Khalid Ali <khaliidcaliy@gmail.com>

This adjusts the decompressor to supply arguments from RDI instead RSI.

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
---
 arch/x86/boot/compressed/head_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index d9dab940ff62..07dcc3ac5b6d 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -471,7 +471,7 @@  SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated)
 /*
  * Jump to the decompressed kernel.
  */
-	movq	%r15, %rsi
+	movq	%r15, %rdi
 	jmp	*%rax
 SYM_FUNC_END(.Lrelocated)