Skip to contentSkip to conversation

x86/cpu: use FeatureWordArray to define filtered_features

PATCH Applied Wei Yang 2 participants 2 messages Jun 20, 2019

lore
Share & tools
lore

Wei Yang

author
#0 lore raw

PATCH 1/1 x86/cpu: use FeatureWordArray to define filtered_features

Use the same definition as features/user_features in CPUX86State.

---
 target/i386/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/cpu.h +1 -1
index 0732e059ec..fd5ff13817 100644
@@ -1413,7 +1413,7 @@ struct X86CPU {
     } mwait;
 
     /* Features that were filtered out because of missing host capabilities */
-    uint32_t filtered_features[FEATURE_WORDS];
+    FeatureWordArray filtered_features;
 
     /* Enable PMU CPUID bits. This can't be enabled by default yet because
      * it doesn't have ABI stability guarantees, as it passes all PMU CPUID
Signature · 1 line
2.19.1