summaryrefslogtreecommitdiffhomepage
path: root/pkg/cpuid/cpuid_x86.go
diff options
context:
space:
mode:
authorJing Chen <milantracy@gmail.com>2021-10-23 15:38:28 -0700
committerJing Chen <milantracy@gmail.com>2021-10-23 15:39:57 -0700
commitc0dfa0e845b3571550e84bdebb411b119086b4aa (patch)
treeab0e66c2ba0d822963a774ef2e138530ca0e8d7a /pkg/cpuid/cpuid_x86.go
parentde9090dde9d9dd3f9c5bd8c7bda831132828bc04 (diff)
initialize hostFeatureSet from init function
Diffstat (limited to 'pkg/cpuid/cpuid_x86.go')
-rw-r--r--pkg/cpuid/cpuid_x86.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/cpuid/cpuid_x86.go b/pkg/cpuid/cpuid_x86.go
index a92d32d74..8cbcc9f61 100644
--- a/pkg/cpuid/cpuid_x86.go
+++ b/pkg/cpuid/cpuid_x86.go
@@ -1109,4 +1109,5 @@ func initFeaturesFromString() {
func init() {
initCPUFreq()
initFeaturesFromString()
+ hostFeatureSet = getHostFeatureSet()
}