<p>Marc Jones has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22192">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">x86/lapic:  Use the existing lapicid() function<br><br>coreboot has a lapicid() funciton, so use it.<br><br>Change-Id: I7f536c229f271674c34d722b5db96ce665b720f1<br>Signed-off-by: Marc Jones <marcj303@gmail.com><br>---<br>M src/cpu/x86/lapic/lapic_cpu_init.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/22192/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c<br>index 898a5c4..825739c 100644<br>--- a/src/cpu/x86/lapic/lapic_cpu_init.c<br>+++ b/src/cpu/x86/lapic/lapic_cpu_init.c<br>@@ -351,7 +351,7 @@<br>        unsigned long send_status;<br>    unsigned long id;<br> <br>- id = lapic_read(LAPIC_ID) >> 24;<br>+       id = lapicid();<br> <br>    printk(BIOS_DEBUG, "CPU %ld going down...\n", id);<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/22192">change 22192</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22192"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7f536c229f271674c34d722b5db96ce665b720f1 </div>
<div style="display:none"> Gerrit-Change-Number: 22192 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>