ARM: 9016/2: Initialize the mapping of KASan shadow memory
[sfrench/cifs-2.6.git] / arch / arm / kernel / setup.c
index 694aa6b4bd03d04b1f86b68ca341cc1e28c460aa..f4bd8b6542550756e1b6fbeb0e14f493e98d66e8 100644 (file)
@@ -59,6 +59,7 @@
 #include <asm/unwind.h>
 #include <asm/memblock.h>
 #include <asm/virt.h>
+#include <asm/kasan.h>
 
 #include "atags.h"
 
@@ -1145,6 +1146,7 @@ void __init setup_arch(char **cmdline_p)
        early_ioremap_reset();
 
        paging_init(mdesc);
+       kasan_init();
        request_standard_resources(mdesc);
 
        if (mdesc->restart)