diff options
author | Kees Cook <keescook@chromium.org> | 2014-02-15 00:58:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 03:53:58 +0100 |
commit | 1bc9fac3da9aa7569e70e9fda605281ef7e42b9f (patch) | |
tree | a26e1a62da660c8e6b5cefea5b287076d72c45ce /drivers/misc | |
parent | ARM: sunxi: dt: Convert to the new SID compatibles (diff) | |
download | linux-1bc9fac3da9aa7569e70e9fda605281ef7e42b9f.tar.xz 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.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> |