Skip to content

Commit

Permalink
x86/cpu: use FeatureWordArray to define filtered_features
Browse files Browse the repository at this point in the history
Use the same definition as features/user_features in CPUX86State.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190620023746.9869-1-richardw.yang@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
  • Loading branch information
Wei Yang authored and ehabkost committed Jul 5, 2019
1 parent 915aee9 commit f69ecdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/i386/cpu.h
Expand Up @@ -1440,7 +1440,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
Expand Down

0 comments on commit f69ecdd

Please sign in to comment.