summaryrefslogtreecommitdiffstats
path: root/drivers/misc
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
parent043d56ee5a748f474f5bce3da1dc4a06819a75fb (diff)
downloadtalos-op-linux-1bc9fac3da9aa7569e70e9fda605281ef7e42b9f.tar.gz
talos-op-linux-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')
-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>
OpenPOWER on IntegriCloud