[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: x86: A fast way to check capabilities of the current cpu
On 01/21/2011 09:46 AM, Christoph Lameter wrote:
>> Oh, you're right. Sorry about that. Can you please then add a
>> comment noting that the operation is x86 only? Maybe prefix it with
>> x86_?
> For a function defined in an specific include file and only used in arch
> specific code?

Yes, x86_ prefix to indicate it's an x86-specific interface, as opposed
to arch_ which is a architecture-specific component of the
implementation of a generic interface.


 \ /
  Last update: 2011-01-21 23:35    [W:0.017 / U:0.520 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site