diff --git a/mm/Kconfig b/mm/Kconfig index c0837845c17c408a123d5864c1bec354ee074723..78a23c5c302d96ad6ef1198a02deb39a9a6bc228 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -187,6 +187,7 @@ config MEMORY_HOTPLUG bool "Allow for memory hot-add" depends on SPARSEMEM || X86_64_ACPI_NUMA depends on ARCH_ENABLE_MEMORY_HOTPLUG + depends on !KASAN config MEMORY_HOTPLUG_SPARSE def_bool y