x86/boot: efistub: Assign global boot_params variable
[linux-2.6-microblaze.git] / drivers / firmware / efi / libstub / x86-stub.c
index 3b8bccd..9d5df68 100644 (file)
@@ -849,6 +849,8 @@ void __noreturn efi_stub_entry(efi_handle_t handle,
        unsigned long kernel_entry;
        efi_status_t status;
 
+       boot_params_pointer = boot_params;
+
        efi_system_table = sys_table_arg;
        /* Check if we were booted by the EFI firmware */
        if (efi_system_table->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE)