Blame SOURCES/0006-add-Hygon-company-description-for-Hygon-CPU-VendorID.patch

99c025
From 4a415a6725fd88e9219e6af92dcdaf88e0dff36e Mon Sep 17 00:00:00 2001
99c025
From: hygonsoc <hygonsoc@gmail.com>
99c025
Date: Wed, 26 Dec 2018 00:08:00 +0800
99c025
Subject: [PATCH 6/8] add Hygon company description for Hygon CPU VendorID
99c025
 checking
99c025
99c025
---
99c025
 src/core/cpuinfo.cc | 2 ++
99c025
 1 file changed, 2 insertions(+)
99c025
99c025
diff --git a/src/core/cpuinfo.cc b/src/core/cpuinfo.cc
99c025
index 8a72d985f57c..33085fda1159 100644
99c025
--- a/src/core/cpuinfo.cc
99c025
+++ b/src/core/cpuinfo.cc
99c025
@@ -455,6 +455,8 @@ string value)
99c025
     {
99c025
       if (value == "AuthenticAMD")
99c025
         value = "Advanced Micro Devices [AMD]";
99c025
+      if (value == "HygonGenuine")
99c025
+        value = "Hygon";
99c025
       if (value == "GenuineIntel")
99c025
         value = "Intel Corp.";
99c025
       cpu->setVendor(value);
99c025
-- 
99c025
2.17.1
99c025