[coreboot-gerrit] Change in coreboot[master]: x86/lapic: Use the existing lapicid() function
Marc Jones (Code Review)
gerrit at coreboot.org
Fri Oct 27 00:56:20 CEST 2017
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/22192
Change subject: x86/lapic: Use the existing lapicid() function
......................................................................
x86/lapic: Use the existing lapicid() function
coreboot has a lapicid() funciton, so use it.
Change-Id: I7f536c229f271674c34d722b5db96ce665b720f1
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/cpu/x86/lapic/lapic_cpu_init.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/22192/1
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 898a5c4..825739c 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -351,7 +351,7 @@
unsigned long send_status;
unsigned long id;
- id = lapic_read(LAPIC_ID) >> 24;
+ id = lapicid();
printk(BIOS_DEBUG, "CPU %ld going down...\n", id);
--
To view, visit https://review.coreboot.org/22192
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f536c229f271674c34d722b5db96ce665b720f1
Gerrit-Change-Number: 22192
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171026/f19078e4/attachment-0001.html>
More information about the coreboot-gerrit
mailing list