<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/30002">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/x86/include/stdint: Fix PRIu64<br><br>We alwas define uint64_t as unsigned long long, even on x86_64.<br>Fix PRIu64 to match the definition of the datatype, to prevent<br>compilation errors when compiling for x86_64.<br><br>Change-Id: I7b10a18eab492f02d39fc2074b47f5fdc7209f3d<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M src/arch/x86/include/stdint.h<br>1 file changed, 0 insertions(+), 12 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/30002/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/arch/x86/include/stdint.h b/src/arch/x86/include/stdint.h</span><br><span>index 16f6acd..6c40002 100644</span><br><span>--- a/src/arch/x86/include/stdint.h</span><br><span>+++ b/src/arch/x86/include/stdint.h</span><br><span>@@ -99,23 +99,11 @@</span><br><span> # define UINT64_MAX (18446744073709551615ULL)</span><br><span> #endif</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#ifdef __x86_64__</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef UINT64_C</span><br><span style="color: hsl(0, 100%, 40%);">-#define UINT64_C(c) c ## UL</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef PRIu64</span><br><span style="color: hsl(0, 100%, 40%);">-#define PRIu64 "lu"</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#else</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> #ifndef UINT64_C</span><br><span> #define UINT64_C(c) c ## ULL</span><br><span> #endif</span><br><span> #ifndef PRIu64</span><br><span> #define PRIu64 "llu"</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span> </span><br><span> #endif</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30002">change 30002</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/c/coreboot/+/30002"/><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-Change-Id: I7b10a18eab492f02d39fc2074b47f5fdc7209f3d </div>
<div style="display:none"> Gerrit-Change-Number: 30002 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>