[coreboot-gerrit] Change in coreboot[master]: cpu/x86: Get rid off device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Thu Feb 8 15:09:49 CET 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/23656


Change subject: cpu/x86: Get rid off device_t
......................................................................

cpu/x86: Get rid off device_t

Use of `device_t` has been
abandoned in ramstage

Change-Id: I4c8acebb4a957a9600de15ea844f620a8909977b
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/cpu/x86/lapic/lapic_cpu_init.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/23656/1

diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 825739c..137b93c 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 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 */

-- 
To view, visit https://review.coreboot.org/23656
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c8acebb4a957a9600de15ea844f620a8909977b
Gerrit-Change-Number: 23656
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180208/a5d095fd/attachment.html>


More information about the coreboot-gerrit mailing list