lkdtm: include cacheflush.h
authorKees Cook <keescook@chromium.org>
Fri, 14 Feb 2014 23:58:50 +0000 (15:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 02:53:58 +0000 (18:53 -0800)
commit1bc9fac3da9aa7569e70e9fda605281ef7e42b9f
treea26e1a62da660c8e6b5cefea5b287076d72c45ce
parent043d56ee5a748f474f5bce3da1dc4a06819a75fb
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>
drivers/misc/lkdtm.c