mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
HV:treewide:Clean up field names of struct cpuinfo_x86
In the data struct cpuinfo_x86, some field names have prefix x86, others don't have prefix. In order to unify names, update field names of struct cpuinfo_x86 as per its usage purpose, remove prefix x86. V1-->V2: Resolve conflict in cpu.c by rebase command V2-->V3: Remove track-on id as per jack's comments Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -111,8 +111,8 @@ void vm_setup_cpu_state(struct vm *vm)
|
||||
*/
|
||||
int vm_load_pm_s_state(struct vm *vm)
|
||||
{
|
||||
if ((boot_cpu_data.x86 == host_acpi_info.x86_family)
|
||||
&& (boot_cpu_data.x86_model == host_acpi_info.x86_model)) {
|
||||
if ((boot_cpu_data.family == host_acpi_info.x86_family)
|
||||
&& (boot_cpu_data.model == host_acpi_info.x86_model)) {
|
||||
vm->pm.sx_state_data = (struct pm_s_state_data *)
|
||||
&host_acpi_info.pm_s_state;
|
||||
pr_info("System S3/S5 is supported.");
|
||||
|
Reference in New Issue
Block a user