diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-06-01 07:25:42 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-06-22 08:16:42 (GMT) |
commit | 8235703e103579bdcedadcaf63bc1896f82b191b (patch) | |
tree | eb3a6ca225399f2a52381a07abcb23a33ea24261 /arch/arc/mm/cache_arc700.c | |
parent | ba5afadb114d09ce52a0d6886a0eab4fcb679501 (diff) | |
download | linux-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/mm/cache_arc700.c')
-rw-r--r-- | arch/arc/mm/cache_arc700.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arc/mm/cache_arc700.c b/arch/arc/mm/cache_arc700.c index aedce19..28007d2 100644 --- a/arch/arc/mm/cache_arc700.c +++ b/arch/arc/mm/cache_arc700.c @@ -89,8 +89,10 @@ char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len) enb ? "" : "DISABLED (kernel-build)"); \ } - PR_CACHE(&cpuinfo_arc700[c].icache, __CONFIG_ARC_HAS_ICACHE, "I-Cache"); - PR_CACHE(&cpuinfo_arc700[c].dcache, __CONFIG_ARC_HAS_DCACHE, "D-Cache"); + PR_CACHE(&cpuinfo_arc700[c].icache, IS_ENABLED(CONFIG_ARC_HAS_ICACHE), + "I-Cache"); + PR_CACHE(&cpuinfo_arc700[c].dcache, IS_ENABLED(CONFIG_ARC_HAS_DCACHE), + "D-Cache"); return buf; } |