summary refs log tree commit diff stats
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-09-06 10:05:38 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-09-30 11:11:25 +0000
commit3b671a40cab2404bc63e57db8cd3afa4ec70bfab (patch)
treec3510942ac99fefed62e5a75adb14fffcbc2f7eb /scripts/update-linux-headers.sh
parent60032ac04c675cf8950497f9d06e681b2dc7085c (diff)
downloadfocaccia-qemu-3b671a40cab2404bc63e57db8cd3afa4ec70bfab.tar.gz
focaccia-qemu-3b671a40cab2404bc63e57db8cd3afa4ec70bfab.zip
i386: cpu: eliminate duplicate feature names
Instead of having duplicate feature names on the ext2_feature array for
the AMD feature bit aliases, we keep the feature names only on the
feature_name[] array, and copy the corresponding bits to
cpuid_ext2_features in case the CPU vendor is AMD.

This will:

- Make sure we don't set the feature bit aliases on Intel CPUs;
- Make it easier to convert feature bits to CPU properties, as now we
  have a single bit on the x86_def_t struct for each CPU feature.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions