1 Star 0 Fork 56

morn/util-linux

forked from src-openEuler/util-linux 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
lscpu-use-official-name-for-HiSilicon-tsv110.patch 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
From 8243036cae35c1be6992b0ef722d68585589d7d7 Mon Sep 17 00:00:00 2001
From: Karel Zak <[email protected]>
Date: Wed, 4 Mar 2020 12:54:24 +0100
Subject: [PATCH] lscpu: use official name for HiSilicon tsv110
Addresses: https://github.com/karelzak/util-linux/issues/969
Signed-off-by: Karel Zak <[email protected]>
---
sys-utils/lscpu-arm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
index b45cbe3..ef9d1ff 100644
--- a/sys-utils/lscpu-arm.c
+++ b/sys-utils/lscpu-arm.c
@@ -171,7 +171,7 @@ static const struct id_part intel_part[] = {
};
static const struct id_part hisi_part[] = {
- { 0xd01, "tsv110" },
+ { 0xd01, "Kunpeng-920" }, /* aka tsv110 */
{ -1, "unknown" },
};
@@ -190,7 +190,7 @@ static const struct hw_impl hw_implementer[] = {
{ 0x42, brcm_part, "Broadcom" },
{ 0x43, cavium_part, "Cavium" },
{ 0x44, dec_part, "DEC" },
- { 0x48, hisi_part, "HiSilicon" },
+ { 0x48, hisi_part, "HiSilicon" },
{ 0x4e, nvidia_part, "Nvidia" },
{ 0x50, apm_part, "APM" },
{ 0x51, qcom_part, "Qualcomm" },
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/goodmorn/util-linux.git
[email protected]:goodmorn/util-linux.git
goodmorn
util-linux
util-linux
master

搜索帮助