arch/x86/boot: Indent mpspec.c and make a loop more legible
Fix some space->tab style and a for-for loop embedded to be more understandable/readable. Change-Id: I740c544e8c9330e6efbbd66a5c1e6a4a33d1a75e Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5631 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
e72645a852
commit
0bb0affede
|
@ -153,19 +153,18 @@ void smp_write_processors(struct mp_config_table *mc)
|
|||
unsigned long cpu_flag;
|
||||
if ((cpu->path.type != DEVICE_PATH_APIC) ||
|
||||
(cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (!cpu->enabled) {
|
||||
|
||||
if (!cpu->enabled)
|
||||
continue;
|
||||
}
|
||||
|
||||
cpu_flag = MPC_CPU_ENABLED;
|
||||
if (boot_apic_id == cpu->path.apic.apic_id) {
|
||||
|
||||
if (boot_apic_id == cpu->path.apic.apic_id)
|
||||
cpu_flag = MPC_CPU_ENABLED | MPC_CPU_BOOTPROCESSOR;
|
||||
}
|
||||
|
||||
if(cpu->path.apic.apic_id == order_id) {
|
||||
smp_write_processor(mc,
|
||||
cpu->path.apic.apic_id, apic_version,
|
||||
smp_write_processor(mc, cpu->path.apic.apic_id, apic_version,
|
||||
cpu_flag, cpu_features, cpu_feature_flags
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue