summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/kasan/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/kasan/init_32.c')
-rw-r--r--arch/powerpc/mm/kasan/init_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/kasan/init_32.c b/arch/powerpc/mm/kasan/init_32.c
index a70828a6d9..aa9aa11927 100644
--- a/arch/powerpc/mm/kasan/init_32.c
+++ b/arch/powerpc/mm/kasan/init_32.c
@@ -64,6 +64,7 @@ int __init __weak kasan_init_region(void *start, size_t size)
if (ret)
return ret;
+ k_start = k_start & PAGE_MASK;
block = memblock_alloc(k_end - k_start, PAGE_SIZE);
if (!block)
return -ENOMEM;