diff options
Diffstat (limited to 'src/cpu/intel/smm')
-rw-r--r-- | src/cpu/intel/smm/gen1/smmrelocate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpu/intel/smm/gen1/smmrelocate.c b/src/cpu/intel/smm/gen1/smmrelocate.c index 2cbe6013cc..c3596d29a7 100644 --- a/src/cpu/intel/smm/gen1/smmrelocate.c +++ b/src/cpu/intel/smm/gen1/smmrelocate.c @@ -157,9 +157,8 @@ static int install_relocation_handler(int *apic_id_map, int num_cpus, if (smm_setup_relocation_handler(&smm_params)) return -1; int i; - for (i = 0; i < num_cpus; i++) { + for (i = 0; i < num_cpus; i++) smm_params.runtime->apic_id_to_cpu[i] = apic_id_map[i]; - } return 0; } @@ -201,9 +200,8 @@ static int install_permanent_handler(int *apic_id_map, int num_cpus, relo_params->smram_size, &smm_params)) return -1; int i; - for (i = 0; i < num_cpus; i++) { + for (i = 0; i < num_cpus; i++) smm_params.runtime->apic_id_to_cpu[i] = apic_id_map[i]; - } return 0; } |