From aede8a3bc9a2134752d72b00f8d61926eee817c0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 26 Jan 2026 10:37:49 +0100 Subject: [PATCH] lscpu: remove duplicate ARM names, clean up names MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Remove duplicate ARM core names * Remove unwanted blank characters from core names References: https://github.com/util-linux/util-linux/pull/3882 Reported-by: Martin Storsjö Signed-off-by: Karel Zak --- sys-utils/lscpu-arm.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c index 563ececfd..591e12064 100644 --- a/sys-utils/lscpu-arm.c +++ b/sys-utils/lscpu-arm.c @@ -23,9 +23,6 @@ struct id_part { }; static const struct id_part arm_part[] = { - { 0xb36, "ARM1136j-s" }, - { 0xb56, "ARM1156t2-s" }, - { 0xb76, "ARM1176jz-s" }, { 0x810, "ARM810" }, { 0x920, "ARM920" }, { 0x922, "ARM922" }, @@ -36,7 +33,7 @@ static const struct id_part arm_part[] = { { 0xa20, "ARM1020" }, { 0xa22, "ARM1022" }, { 0xa26, "ARM1026" }, - { 0xb02, "ARM11 MPCore" }, + { 0xb02, "ARM11-MPCore" }, { 0xb36, "ARM1136" }, { 0xb56, "ARM1156" }, { 0xb76, "ARM1176" }, @@ -178,7 +175,7 @@ static const struct id_part samsung_part[] = { static const struct id_part nvidia_part[] = { { 0x000, "Denver" }, - { 0x003, "Denver 2" }, + { 0x003, "Denver-2" }, { 0x004, "Carmel" }, { 0x010, "Olympus" }, { -1, "unknown" }, -- 2.47.3