Skip to content

Commit c40cad3

Browse files
committed
ARC: boot log: fix warning
Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308221549.XKufWEWp-lkp@intel.com/ Signed-off-by: Vineet Gupta <vgupta@kernel.org>
1 parent 7ebc443 commit c40cad3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/arc/kernel/setup.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ arcompact_mumbojumbo(int c, struct cpuinfo_arc *info, char *buf, int len)
102102
else
103103
cpu_nm = "ARC770";
104104

105-
n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s\n",
106-
c, cpu_nm, isa_nm, IS_AVAIL1(be, "[Big-Endian]"));
105+
n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s%s%s\n",
106+
c, cpu_nm, isa_nm,
107+
IS_AVAIL2(atomic, "atomic ", CONFIG_ARC_HAS_LLSC),
108+
IS_AVAIL1(be, "[Big-Endian]"));
107109

108110
READ_BCR(ARC_REG_FP_BCR, fpu_sp);
109111
READ_BCR(ARC_REG_DPFP_BCR, fpu_dp);

0 commit comments

Comments
 (0)