]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/acpi/tables.c
Merge tag 'block-5.15-2021-10-22' of git://git.kernel.dk/linux-block
[mirror_ubuntu-jammy-kernel.git] / drivers / acpi / tables.c
index f9383736fa0feb0bb3037eda7fae30116bbe7152..71419eb16e09fab1fe18e7cb6d46fc2930d0763d 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/earlycpio.h>
 #include <linux/initrd.h>
 #include <linux/security.h>
+#include <linux/kmemleak.h>
 #include "internal.h"
 
 #ifdef CONFIG_ACPI_CUSTOM_DSDT
@@ -601,6 +602,8 @@ void __init acpi_table_upgrade(void)
         */
        arch_reserve_mem_area(acpi_tables_addr, all_tables_size);
 
+       kmemleak_ignore_phys(acpi_tables_addr);
+
        /*
         * early_ioremap only can remap 256k one time. If we map all
         * tables one time, we will hit the limit. Need to map chunks