[PATCH kvm-unit-tests 07/15] x86_64: mbi-cmdline is a 4 byte addr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Treating mbi-cmdline as an 8 byte addr includes mbi-mods-count,
which only works as long as there are no mods.

Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
---
 x86/cstart64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/cstart64.S b/x86/cstart64.S
index e94788832267..0240507519cd 100644
--- a/x86/cstart64.S
+++ b/x86/cstart64.S
@@ -198,7 +198,7 @@ start64:
 	call smp_init
 	call enable_x2apic
 	mov mb_boot_info(%rip), %rax
-	mov mb_cmdline(%rax), %rax
+	mov mb_cmdline(%rax), %eax
 	mov %rax, __args(%rip)
 	call __setup_args
 	mov __argc(%rip), %edi
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux