Re: x86: A fast way to check capabilities of the current cpu

From: Tejun Heo
Date: Fri Jan 21 2011 - 12:48:26 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/