cpu/x86: Use tabs for indent
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: Ie6e4dd4c3eb0d2c44ecd008740dfc348d496fe78 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18841 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@ -154,7 +154,7 @@ static inline void release_barrier(atomic_t *b)
|
||||
|
||||
/* Returns 1 if timeout waiting for APs. 0 if target aps found. */
|
||||
static int wait_for_aps(atomic_t *val, int target, int total_delay,
|
||||
int delay_step)
|
||||
int delay_step)
|
||||
{
|
||||
int timeout = 0;
|
||||
int delayed = 0;
|
||||
@ -453,7 +453,7 @@ static int start_aps(struct bus *cpu_bus, int ap_count, atomic_t *num_aps)
|
||||
/* Send INIT IPI to all but self. */
|
||||
lapic_write_around(LAPIC_ICR2, SET_LAPIC_DEST_FIELD(0));
|
||||
lapic_write_around(LAPIC_ICR, LAPIC_DEST_ALLBUT | LAPIC_INT_ASSERT |
|
||||
LAPIC_DM_INIT);
|
||||
LAPIC_DM_INIT);
|
||||
printk(BIOS_DEBUG, "Waiting for 10ms after sending INIT.\n");
|
||||
mdelay(10);
|
||||
|
||||
@ -469,7 +469,7 @@ static int start_aps(struct bus *cpu_bus, int ap_count, atomic_t *num_aps)
|
||||
|
||||
lapic_write_around(LAPIC_ICR2, SET_LAPIC_DEST_FIELD(0));
|
||||
lapic_write_around(LAPIC_ICR, LAPIC_DEST_ALLBUT | LAPIC_INT_ASSERT |
|
||||
LAPIC_DM_STARTUP | sipi_vector);
|
||||
LAPIC_DM_STARTUP | sipi_vector);
|
||||
printk(BIOS_DEBUG, "Waiting for 1st SIPI to complete...");
|
||||
if (apic_wait_timeout(10000 /* 10 ms */, 50 /* us */)) {
|
||||
printk(BIOS_DEBUG, "timed out.\n");
|
||||
@ -493,7 +493,7 @@ static int start_aps(struct bus *cpu_bus, int ap_count, atomic_t *num_aps)
|
||||
|
||||
lapic_write_around(LAPIC_ICR2, SET_LAPIC_DEST_FIELD(0));
|
||||
lapic_write_around(LAPIC_ICR, LAPIC_DEST_ALLBUT | LAPIC_INT_ASSERT |
|
||||
LAPIC_DM_STARTUP | sipi_vector);
|
||||
LAPIC_DM_STARTUP | sipi_vector);
|
||||
printk(BIOS_DEBUG, "Waiting for 2nd SIPI to complete...");
|
||||
if (apic_wait_timeout(10000 /* 10 ms */, 50 /* us */)) {
|
||||
printk(BIOS_DEBUG, "timed out.\n");
|
||||
@ -527,7 +527,7 @@ static int bsp_do_flight_plan(struct mp_params *mp_params)
|
||||
if (atomic_read(&rec->barrier) == 0) {
|
||||
/* Wait for the APs to check in. */
|
||||
if (wait_for_aps(&rec->cpus_entered, num_aps,
|
||||
timeout_us, step_us)) {
|
||||
timeout_us, step_us)) {
|
||||
printk(BIOS_ERR, "MP record %d timeout.\n", i);
|
||||
ret = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user