summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/setup.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-10-02 15:50:27 +0200
committerVineet Gupta <vgupta@synopsys.com>2015-10-17 14:18:25 +0200
commit964cf28f9d10f4e5229e4365258c292bc5c856b2 (patch)
tree572964150990fa671a84b9a7c72bdfe1549dbfae /arch/arc/kernel/setup.c
parentARC: mm: compute TLB size as needed from ways * sets (diff)
downloadlinux-964cf28f9d10f4e5229e4365258c292bc5c856b2.tar.xz
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/kernel/setup.c')
-rw-r--r--arch/arc/kernel/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index cabde9dc0696..68d3e181a82f 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -160,10 +160,6 @@ static const struct cpuinfo_data arc_cpu_tbl[] = {
{ {0x00, NULL } }
};
-#define IS_AVAIL1(v, s) ((v) ? s : "")
-#define IS_USED_RUN(v) ((v) ? "" : "(not used) ")
-#define IS_USED_CFG(cfg) IS_USED_RUN(IS_ENABLED(cfg))
-#define IS_AVAIL2(v, s, cfg) IS_AVAIL1(v, s), IS_AVAIL1(v, IS_USED_CFG(cfg))
static char *arc_cpu_mumbojumbo(int cpu_id, char *buf, int len)
{