diff options
author | Kees Cook <keescook@chromium.org> | 2014-02-14 18:58:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-14 21:53:58 -0500 |
commit | 1bc9fac3da9aa7569e70e9fda605281ef7e42b9f (patch) | |
tree | a26e1a62da660c8e6b5cefea5b287076d72c45ce | |
parent | 043d56ee5a748f474f5bce3da1dc4a06819a75fb (diff) |
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>
-rw-r--r-- | drivers/misc/lkdtm.c | 1 |
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 @@ | |||
46 | #include <linux/debugfs.h> | 46 | #include <linux/debugfs.h> |
47 | #include <linux/vmalloc.h> | 47 | #include <linux/vmalloc.h> |
48 | #include <linux/mman.h> | 48 | #include <linux/mman.h> |
49 | #include <asm/cacheflush.h> | ||
49 | 50 | ||
50 | #ifdef CONFIG_IDE | 51 | #ifdef CONFIG_IDE |
51 | #include <linux/ide.h> | 52 | #include <linux/ide.h> |