<p>Subrata Banik has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25964">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/x86: Make cpu_index() available for bootblock<br><br>This patch ensures cpu_index() is available for bootblock stage<br>as exception.c is now added in glk bootblock.<br><br>Change-Id: I02b2387eb601abe2d64ed20ebf8a98572befd26c<br>Signed-off-by: Subrata Banik <subrata.banik@intel.com><br>---<br>M src/arch/x86/include/arch/cpu.h<br>1 file changed, 0 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/25964/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h</span><br><span>index 5d44aae..c59cf2b 100644</span><br><span>--- a/src/arch/x86/include/arch/cpu.h</span><br><span>+++ b/src/arch/x86/include/arch/cpu.h</span><br><span>@@ -167,8 +167,6 @@</span><br><span> void smm_lock(void);</span><br><span> void smm_setup_structures(void *gnvs, void *tcg, void *smi1);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef __SIMPLE_DEVICE__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> struct device;</span><br><span> </span><br><span> struct cpu_device_id {</span><br><span>@@ -218,7 +216,6 @@</span><br><span>         ci = cpu_info();</span><br><span>     return ci->index;</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span> </span><br><span> #ifndef __ROMCC__ // romcc is segfaulting in some cases</span><br><span> struct cpuinfo_x86 {</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25964">change 25964</a>. To unsubscribe, or for help writing mail filters, 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/25964"/><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: I02b2387eb601abe2d64ed20ebf8a98572befd26c </div>
<div style="display:none"> Gerrit-Change-Number: 25964 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Subrata Banik <subrata.banik@intel.com> </div>