aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/torpedo/mptable.c
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2019-10-23 21:41:43 -0600
committerMartin Roth <martinroth@google.com>2019-10-27 21:08:49 +0000
commitad0f4853619b1c239b8ace7554958c6b4932c04f (patch)
tree30aab33490fa6d6dacc17a0f1bac99f0554c8ea5 /src/mainboard/amd/torpedo/mptable.c
parent38ddbfb325866716c9c65a460e388f33d1a773dd (diff)
src/mainboard: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I46d131f76ec930d2ef0f74e6eaabae067df10754 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36330 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/amd/torpedo/mptable.c')
-rw-r--r--src/mainboard/amd/torpedo/mptable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/amd/torpedo/mptable.c b/src/mainboard/amd/torpedo/mptable.c
index 743651e1f0..811154379f 100644
--- a/src/mainboard/amd/torpedo/mptable.c
+++ b/src/mainboard/amd/torpedo/mptable.c
@@ -43,7 +43,7 @@ u8 intr_data[] = {
0x10,0x11,0x12,0x13
};
-static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned length)
+static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned int length)
{
mc->mpc_length += length;
mc->mpc_entry_count++;
@@ -64,9 +64,9 @@ static void *smp_write_config_table(void *v)
struct mp_config_table *mc;
int bus_isa;
int boot_apic_id;
- unsigned apic_version;
- unsigned cpu_features;
- unsigned cpu_feature_flags;
+ unsigned int apic_version;
+ unsigned int cpu_features;
+ unsigned int cpu_feature_flags;
struct cpuid_result result;
unsigned long cpu_flag;