summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/cache.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-01 09:25:42 +0200
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 10:16:42 +0200
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/include/asm/cache.h
parentARC: [plat-arcfpga] Fix build breakage when !CONFIG_ARC_SERIAL (diff)
downloadlinux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.xz
linux-8235703e103579bdcedadcaf63bc1896f82b191b.zip
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