x86/cpu: use FeatureWordArray to define filtered_features
diff mbox series

Message ID 20190620023746.9869-1-richardw.yang@linux.intel.com
State New
Headers show
Series
  • x86/cpu: use FeatureWordArray to define filtered_features
Related show

Commit Message

Wei Yang June 20, 2019, 2:37 a.m. UTC
Use the same definition as features/user_features in CPUX86State.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
 target/i386/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eduardo Habkost June 20, 2019, 3:25 a.m. UTC | #1
On Thu, Jun 20, 2019 at 10:37:46AM +0800, Wei Yang wrote:
> Use the same definition as features/user_features in CPUX86State.
> 
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>

Queued, thanks.

Patch
diff mbox series

diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 0732e059ec..fd5ff13817 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -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