summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/cache.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-01 12:55:42 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 13:46:42 +0530
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/include/asm/cache.h
parentba5afadb114d09ce52a0d6886a0eab4fcb679501 (diff)
downloadlinux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.bz2
ARC: Use kconfig helper IS_ENABLED() to get rid of defines.h
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/cache.h')
-rw-r--r--arch/arc/include/asm/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h
index d5555fe4742a..2fe8e41a551c 100644
--- a/arch/arc/include/asm/cache.h
+++ b/arch/arc/include/asm/cache.h
@@ -9,6 +9,8 @@
#ifndef __ARC_ASM_CACHE_H
#define __ARC_ASM_CACHE_H
+#include <asm/mmu.h> /* some of cache registers depend on MMU ver */
+
/* In case $$ not config, setup a dummy number for rest of kernel */
#ifndef CONFIG_ARC_CACHE_LINE_SHIFT
#define L1_CACHE_SHIFT 6