|
@@ -36,6 +36,7 @@ static void sanitize_boot_params(struct boot_params *boot_params)
|
|
*/
|
|
*/
|
|
if (boot_params->sentinel) {
|
|
if (boot_params->sentinel) {
|
|
/* fields in boot_params are left uninitialized, clear them */
|
|
/* fields in boot_params are left uninitialized, clear them */
|
|
|
|
+ boot_params->acpi_rsdp_addr = 0;
|
|
memset(&boot_params->ext_ramdisk_image, 0,
|
|
memset(&boot_params->ext_ramdisk_image, 0,
|
|
(char *)&boot_params->efi_info -
|
|
(char *)&boot_params->efi_info -
|
|
(char *)&boot_params->ext_ramdisk_image);
|
|
(char *)&boot_params->ext_ramdisk_image);
|