From: Kees Cook Date: Fri, 14 Feb 2014 23:58:50 +0000 (-0800) Subject: lkdtm: include cacheflush.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bc9fac3da9aa7569e70e9fda605281ef7e42b9f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git lkdtm: include cacheflush.h Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: >> ERROR: "flush_icache_range" undefined! Reported-by: Fengguang Wu Signed-off-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index d30301149242..d66a2f24f6b3 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/lkdtm.c @@ -46,6 +46,7 @@ #include #include #include +#include #ifdef CONFIG_IDE #include