lkml.org 
[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: A fast way to check capabilities of the current cpu
On Fri, Jan 21, 2011 at 11:46:04AM -0600, 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?

Hmm? asm/percpu.h gets included by linux/percpu.h, so it would end up
in most .c files.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2011-01-21 18:51    [from the cache]
©2003-2011 Jasper Spaans