aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2014-02-14 15:58:50 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-14 18:53:58 -0800
commit1bc9fac3da9aa7569e70e9fda605281ef7e42b9f (patch)
treea26e1a62da660c8e6b5cefea5b287076d72c45ce /drivers/misc/lkdtm.c
parentARM: sunxi: dt: Convert to the new SID compatibles (diff)
downloadlinux-dev-1bc9fac3da9aa7569e70e9fda605281ef7e42b9f.tar.xz
linux-dev-1bc9fac3da9aa7569e70e9fda605281ef7e42b9f.zip
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 <fengguang.wu@intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lkdtm.c')
-rw-r--r--drivers/misc/lkdtm.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/debugfs.h>
#include <linux/vmalloc.h>
#include <linux/mman.h>
+#include <asm/cacheflush.h>
#ifdef CONFIG_IDE
#include <linux/ide.h>