summaryrefslogtreecommitdiff
path: root/src/cpu/intel/smm
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-15 17:16:59 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-16 04:13:06 +0100
commit7b5f12b9b2695359b6ccb4d62bdb868166c7f8d1 (patch)
tree6b04150aa316965fd472b3dc127c374df6b34469 /src/cpu/intel/smm
parentdfc8a560d7fec715a652f428dc3cab3e0a92c680 (diff)
downloadcoreboot-7b5f12b9b2695359b6ccb4d62bdb868166c7f8d1.tar.xz
cpu/intel: Indent with tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no space before tabs TEST=Build and run on Galileo Gen2 Change-Id: I5bcd82561ef5856e99055d46528dcf3a283d2310 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18846 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/intel/smm')
-rw-r--r--src/cpu/intel/smm/gen1/smmrelocate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/intel/smm/gen1/smmrelocate.c b/src/cpu/intel/smm/gen1/smmrelocate.c
index 7e7f986ccf..2cbe6013cc 100644
--- a/src/cpu/intel/smm/gen1/smmrelocate.c
+++ b/src/cpu/intel/smm/gen1/smmrelocate.c
@@ -92,13 +92,13 @@ static void asmlinkage cpu_smm_do_relocation(void *arg)
* Since one thread runs at a time during the relocation the save state
* is the same for all cpus. */
save_state = (void *)(runtime->smbase + SMM_DEFAULT_SIZE -
- runtime->save_state_size);
+ runtime->save_state_size);
/* The relocated handler runs with all CPUs concurrently. Therefore
* stagger the entry points adjusting SMBASE downwards by save state
* size * CPU num. */
save_state->smbase = relo_params->smram_base -
- cpu * runtime->save_state_size;
+ cpu * runtime->save_state_size;
save_state->iedbase = relo_params->ied_base;
printk(BIOS_DEBUG, "New SMBASE=0x%08x IEDBASE=0x%08x @ %p\n",
@@ -138,7 +138,7 @@ static void fill_in_relocation_params(struct smm_relocation_params *params)
}
static int install_relocation_handler(int *apic_id_map, int num_cpus,
- struct smm_relocation_params *relo_params)
+ struct smm_relocation_params *relo_params)
{
/* The default SMM entry happens serially at the default location.
* Therefore, there is only 1 concurrent save state area. Set the
@@ -183,7 +183,7 @@ static void setup_ied_area(struct smm_relocation_params *params)
}
static int install_permanent_handler(int *apic_id_map, int num_cpus,
- struct smm_relocation_params *relo_params)
+ struct smm_relocation_params *relo_params)
{
/* There are num_cpus concurrent stacks and num_cpus concurrent save
* state areas. Lastly, set the stack size to the save state size. */