aboutsummaryrefslogtreecommitdiff
path: root/mm/kasan/kasan_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kasan/kasan_init.c')
-rw-r--r--mm/kasan/kasan_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kasan/kasan_init.c b/mm/kasan/kasan_init.c
index 24d734bdff6b..785a9707786b 100644
--- a/mm/kasan/kasan_init.c
+++ b/mm/kasan/kasan_init.c
@@ -84,7 +84,7 @@ static inline bool kasan_zero_page_entry(pte_t pte)
static __init void *early_alloc(size_t size, int node)
{
return memblock_alloc_try_nid(size, size, __pa(MAX_DMA_ADDRESS),
- BOOTMEM_ALLOC_ACCESSIBLE, node);
+ MEMBLOCK_ALLOC_ACCESSIBLE, node);
}
static void __ref zero_pte_populate(pmd_t *pmd, unsigned long addr,