X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=arch%2Fx86%2Fboot%2Fcompressed%2Feboot.c;h=48304b89b601fa92bbd8ee1f5e548b4c2ffcc2dc;hb=c102cb097d9371c2c60049d041ab1f8bdca5ccc2;hp=ef17683484e9b308e2cb89312258dfe1e62e2d72;hpb=f3c233d75ed0dd04e9eaf7cb43d79756fef1ef3a;p=linux-2.6-block.git diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c index ef17683484e9..48304b89b601 100644 --- a/arch/x86/boot/compressed/eboot.c +++ b/arch/x86/boot/compressed/eboot.c @@ -1109,6 +1109,8 @@ struct boot_params *make_boot_params(struct efi_config *c) if (!cmdline_ptr) goto fail; hdr->cmd_line_ptr = (unsigned long)cmdline_ptr; + /* Fill in upper bits of command line address, NOP on 32 bit */ + boot_params->ext_cmd_line_ptr = (u64)(unsigned long)cmdline_ptr >> 32; hdr->ramdisk_image = 0; hdr->ramdisk_size = 0;