summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2023-08-23 16:02:33 -0700
committerVineet Gupta <vgupta@kernel.org>2023-08-23 22:36:19 -0700
commitc40cad3b0aa47d6d0995637178fb6607ac3d45c1 (patch)
treea202e6793fea1d7492b4d19778d702a753b343ac /arch/arc
parent7ebc443d129507e079ee5ef69ed53ce7bb8a54f5 (diff)
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>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 0aa49308d792..4dcf8589b708 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -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);