summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/tlb-mmu1.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-01 11:25:42 +0400
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 12:16:42 +0400
commit8235703e103579bdcedadcaf63bc1896f82b191b (patch)
treeeb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/include/asm/tlb-mmu1.h
parentba5afadb114d09ce52a0d6886a0eab4fcb679501 (diff)
downloadlinux-8235703e103579bdcedadcaf63bc1896f82b191b.tar.xz
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/tlb-mmu1.h')
-rw-r--r--arch/arc/include/asm/tlb-mmu1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arc/include/asm/tlb-mmu1.h b/arch/arc/include/asm/tlb-mmu1.h
index a5ff961b1efc..351ae6568d0a 100644
--- a/arch/arc/include/asm/tlb-mmu1.h
+++ b/arch/arc/include/asm/tlb-mmu1.h
@@ -9,10 +9,11 @@
#ifndef __ASM_TLB_MMU_V1_H__
#define __ASM_TLB_MMU_V1_H__
-#if defined(__ASSEMBLY__) && defined(CONFIG_ARC_MMU_VER == 1)
-
+#include <asm/mmu.h>
#include <asm/tlb.h>
+#if defined(__ASSEMBLY__) && (CONFIG_ARC_MMU_VER == 1)
+
.macro TLB_WRITE_HEURISTICS
#define JH_HACK1