summaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/tlb.c
diff options
context:
space:
mode:
authorVineet Gupta2015-10-02 15:50:27 +0200
committerVineet Gupta2015-10-17 14:18:25 +0200
commit964cf28f9d10f4e5229e4365258c292bc5c856b2 (patch)
tree572964150990fa671a84b9a7c72bdfe1549dbfae /arch/arc/mm/tlb.c
parentARC: mm: compute TLB size as needed from ways * sets (diff)
downloadkernel-qcow2-linux-964cf28f9d10f4e5229e4365258c292bc5c856b2.tar.gz
kernel-qcow2-linux-964cf28f9d10f4e5229e4365258c292bc5c856b2.tar.xz
kernel-qcow2-linux-964cf28f9d10f4e5229e4365258c292bc5c856b2.zip
ARC: boot log: move helper macros to header for reuse
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/tlb.c')
-rw-r--r--arch/arc/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
index 25699db016b3..a69f2078a96d 100644
--- a/arch/arc/mm/tlb.c
+++ b/arch/arc/mm/tlb.c
@@ -779,7 +779,7 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
if (p_mmu->s_pg_sz_m)
scnprintf(super_pg, 64, "%dM Super Page%s, ",
p_mmu->s_pg_sz_m,
- IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) ? "" : " (not used)");
+ IS_USED_CFG(CONFIG_TRANSPARENT_HUGEPAGE));
n += scnprintf(buf + n, len - n,
"MMU [v%x]\t: %dk PAGE, %sJTLB %d (%dx%d), uDTLB %d, uITLB %d %s\n",