summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/bootparam_utils.h
diff options
context:
space:
mode:
authorJames Morris <james.morris@microsoft.com>2018-12-17 20:24:28 +0100
committerJames Morris <james.morris@microsoft.com>2018-12-17 20:24:28 +0100
commit8bd8ea195f6d135a8d85201116314eb5237ad7e7 (patch)
tree3ef99e468f0b4b13cc11002aa60c4451e326191b /arch/x86/include/asm/bootparam_utils.h
parentsecurity: fs: make inode explicitly non-modular (diff)
parentLinux 4.20-rc7 (diff)
downloadlinux-8bd8ea195f6d135a8d85201116314eb5237ad7e7.tar.xz
linux-8bd8ea195f6d135a8d85201116314eb5237ad7e7.zip
Merge tag 'v4.20-rc7' into next-general
Sync with Linux 4.20-rc7, to pick up: Revert "ovl: relax permission checking on underlying layers"
Diffstat (limited to 'arch/x86/include/asm/bootparam_utils.h')
-rw-r--r--arch/x86/include/asm/bootparam_utils.h1
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)
*/
if (boot_params->sentinel) {
/* fields in boot_params are left uninitialized, clear them */
+ boot_params->acpi_rsdp_addr = 0;
memset(&boot_params->ext_ramdisk_image, 0,
(char *)&boot_params->efi_info -
(char *)&boot_params->ext_ramdisk_image);