diff options
| -rw-r--r-- | arch/x86/include/asm/bootparam_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/bootparam_utils.h b/arch/x86/include/asm/bootparam_utils.h index a07ffd23e4dd..f6f6ef436599 100644 --- a/arch/x86/include/asm/bootparam_utils.h +++ b/arch/x86/include/asm/bootparam_utils.h | |||
| @@ -36,6 +36,7 @@ static void sanitize_boot_params(struct boot_params *boot_params) | |||
| 36 | */ | 36 | */ |
| 37 | if (boot_params->sentinel) { | 37 | if (boot_params->sentinel) { |
| 38 | /* fields in boot_params are left uninitialized, clear them */ | 38 | /* fields in boot_params are left uninitialized, clear them */ |
| 39 | boot_params->acpi_rsdp_addr = 0; | ||
| 39 | memset(&boot_params->ext_ramdisk_image, 0, | 40 | memset(&boot_params->ext_ramdisk_image, 0, |
| 40 | (char *)&boot_params->efi_info - | 41 | (char *)&boot_params->efi_info - |
| 41 | (char *)&boot_params->ext_ramdisk_image); | 42 | (char *)&boot_params->ext_ramdisk_image); |
