diff options
author | Kees Cook <keescook@chromium.org> | 2014-02-15 03:58:50 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 06:53:58 +0400 |
commit | 1bc9fac3da9aa7569e70e9fda605281ef7e42b9f (patch) | |
tree | a26e1a62da660c8e6b5cefea5b287076d72c45ce | |
parent | 043d56ee5a748f474f5bce3da1dc4a06819a75fb (diff) | |
download | linux-1bc9fac3da9aa7569e70e9fda605281ef7e42b9f.tar.xz |
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 @@ #include <linux/debugfs.h> #include <linux/vmalloc.h> #include <linux/mman.h> +#include <asm/cacheflush.h> #ifdef CONFIG_IDE #include <linux/ide.h> |