mm/memblock.c: skip kmemleak for kasan_init()
[sfrench/cifs-2.6.git] / arch / arm64 / mm / kasan_init.c
index 3e142add890b690e900ea85b400dd4cd7672b34a..4b55b15707a33e5a5c7c202977845f86e847bda5 100644 (file)
@@ -39,7 +39,7 @@ static phys_addr_t __init kasan_alloc_zeroed_page(int node)
 {
        void *p = memblock_alloc_try_nid(PAGE_SIZE, PAGE_SIZE,
                                              __pa(MAX_DMA_ADDRESS),
 {
        void *p = memblock_alloc_try_nid(PAGE_SIZE, PAGE_SIZE,
                                              __pa(MAX_DMA_ADDRESS),
-                                             MEMBLOCK_ALLOC_ACCESSIBLE, node);
+                                             MEMBLOCK_ALLOC_KASAN, node);
        return __pa(p);
 }
 
        return __pa(p);
 }