Commit 2e7d3170 authored by zhong jiang's avatar zhong jiang Committed by Linus Torvalds
Browse files

mm/kasan/common.c: fix compile error

I hit the following compile error in arch/x86/

   mm/kasan/common.c: In function kasan_populate_vmalloc:
   mm/kasan/common.c:797:2: error: implicit declaration of function flush_cache_vmap; did you mean flush_rcu_work? [-Werror=implicit-function-declaration]
     flush_cache_vmap(shadow_start, shadow_end);
   cc1: some warnings being treated as errors

Fixes: 3c5c3cfb

 ("kasan: support backing vmalloc space with real shadow memory")
Signed-off-by: default avatarzhong jiang <>
Reviewed-by: default avatarAndrew Morton <>
Reviewed-by: default avatarDaniel Axtens <>
Cc: Mark Rutland <>
Cc: Mark Rutland <>
Cc: Vasily Gorbik <>
Cc: Andrey Ryabinin <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 63de3747
......@@ -36,6 +36,7 @@
#include <linux/bug.h>
#include <linux/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include "kasan.h"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment