Message ID | 1418315435-20342-2-git-send-email-andre.przywara@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/kvm/arm/fdt.c b/tools/kvm/arm/fdt.c index 5626931..4a33846 100644 --- a/tools/kvm/arm/fdt.c +++ b/tools/kvm/arm/fdt.c @@ -149,8 +149,8 @@ static int setup_fdt(struct kvm *kvm) /* Initrd */ if (kvm->arch.initrd_size != 0) { - u32 ird_st_prop = cpu_to_fdt64(kvm->arch.initrd_guest_start); - u32 ird_end_prop = cpu_to_fdt64(kvm->arch.initrd_guest_start + + u64 ird_st_prop = cpu_to_fdt64(kvm->arch.initrd_guest_start); + u64 ird_end_prop = cpu_to_fdt64(kvm->arch.initrd_guest_start + kvm->arch.initrd_size); _FDT(fdt_property(fdt, "linux,initrd-start",