Skip to content

Commit 1bc9fac

Browse files
keesgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 043d56e commit 1bc9fac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/misc/lkdtm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include <linux/debugfs.h>
4747
#include <linux/vmalloc.h>
4848
#include <linux/mman.h>
49+
#include <asm/cacheflush.h>
4950

5051
#ifdef CONFIG_IDE
5152
#include <linux/ide.h>

0 commit comments

Comments
 (0)