summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJing Chen <milantracy@gmail.com>2021-10-20 18:21:24 +0000
committerJing Chen <milantracy@gmail.com>2021-10-23 15:39:57 -0700
commitde9090dde9d9dd3f9c5bd8c7bda831132828bc04 (patch)
treeba85bad092ad7d49c166e2005dd3750ff00af518
parent14f4113924c8b7b8c161be7335b147106d0c4a26 (diff)
fix the failed test target //pkg/cpuid:cpuid_test on arm64.
-rw-r--r--pkg/cpuid/cpuid_arm64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/cpuid/cpuid_arm64.go b/pkg/cpuid/cpuid_arm64.go
index 04645aed5..446d3db83 100644
--- a/pkg/cpuid/cpuid_arm64.go
+++ b/pkg/cpuid/cpuid_arm64.go
@@ -491,4 +491,5 @@ func init() {
initCPUInfo()
initHwCap()
initFeaturesFromString()
+ hostFeatureSet = getHostFeatureSet()
}