<div dir="ltr">On Tue, Sep 24, 2013 at 3:59 AM, David Gibson <span dir="ltr"><<a href="mailto:david@gibson.dropbear.id.au" target="_blank">david@gibson.dropbear.id.au</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What I was suggesting was populating the non-x86 side of the .h with<br>
static inlines using BUILD_ASSERT, so that you'll get a warning if you<br>
actually try to use any of the functions from here on non-x86.</blockquote><div>I'm not quite sure what you mean by using BUILD_ASSERT, but what I get is:</div><div><br></div><div>#if x86 machine</div><div>define cpuid_*</div>
<div>#else</div><div>static inline type cpuid_*() { } </div><div>#endif</div><div><br></div><div>correct?</div></div><br></div></div>