ARC: boot log: fix warning
authorVineet Gupta <vgupta@kernel.org>
Wed, 23 Aug 2023 23:02:33 +0000 (16:02 -0700)
committerVineet Gupta <vgupta@kernel.org>
Thu, 24 Aug 2023 05:36:19 +0000 (22:36 -0700)
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>
arch/arc/kernel/setup.c

index 0aa4930..4dcf858 100644 (file)
@@ -102,8 +102,10 @@ arcompact_mumbojumbo(int c, struct cpuinfo_arc *info, char *buf, int len)
        else
                cpu_nm = "ARC770";
 
-       n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s\n",
-                      c, cpu_nm, isa_nm, IS_AVAIL1(be, "[Big-Endian]"));
+       n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s%s%s\n",
+                      c, cpu_nm, isa_nm,
+                      IS_AVAIL2(atomic, "atomic ", CONFIG_ARC_HAS_LLSC),
+                      IS_AVAIL1(be, "[Big-Endian]"));
 
        READ_BCR(ARC_REG_FP_BCR, fpu_sp);
        READ_BCR(ARC_REG_DPFP_BCR, fpu_dp);