diff options
author | Juergen Gross <jgross@suse.com> | 2021-10-28 10:12:21 +0200 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2021-11-01 14:16:20 -0500 |
commit | 59c3dfc42ca6cc291121777c1660ed62340d5fb1 (patch) | |
tree | f1fae7504e7ab5572d1b965a9f696ba342750382 | |
parent | fc3b26228d6daaffe00f88cae67e76abefee1529 (diff) | |
download | linux-for-linus-5.16.tar.gz |
x86/xen: remove 32-bit awareness from startup_xenfor-linus-5.16
startup_xen is still 32-bit aware, even if no longer needed.
Replace the register macros by the 64-bit register names for making
it more readable.
Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20211028081221.2475-5-jgross@suse.com
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
-rw-r--r-- | arch/x86/xen/xen-head.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S index cb6538ae2fe07f..38b0a3226c958a 100644 --- a/arch/x86/xen/xen-head.S +++ b/arch/x86/xen/xen-head.S @@ -28,13 +28,13 @@ SYM_CODE_START(startup_xen) /* Clear .bss */ xor %eax,%eax - mov $__bss_start, %_ASM_DI - mov $__bss_stop, %_ASM_CX - sub %_ASM_DI, %_ASM_CX - shr $__ASM_SEL(2, 3), %_ASM_CX - rep __ASM_SIZE(stos) + mov $__bss_start, %rdi + mov $__bss_stop, %rcx + sub %rdi, %rcx + shr $3, %rcx + rep stosq - mov %_ASM_SI, xen_start_info + mov %rsi, xen_start_info mov initial_stack(%rip), %rsp /* Set up %gs. |