From fc1b49691f3c1c509ff0b6fb9e569893e687b4ef Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 8 Feb 2018 15:08:21 +0100 Subject: cpu/x86: Get rid of device_t Use of `device_t` has been abandoned in ramstage. Change-Id: I4c8acebb4a957a9600de15ea844f620a8909977b Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/23656 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/cpu/x86/lapic/lapic_cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/x86/lapic/lapic_cpu_init.c') diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index 382b6e4014..0a51a08477 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -464,9 +464,9 @@ static void start_other_cpus(struct bus *cpu_bus, struct device *bsp_cpu) } -static void smm_other_cpus(struct bus *cpu_bus, device_t bsp_cpu) +static void smm_other_cpus(struct bus *cpu_bus, struct device *bsp_cpu) { - device_t cpu; + struct device *cpu; int pre_count = atomic_read(&active_cpus); /* Loop through the cpus once to let them run through SMM relocator */ -- cgit v1.2.3