Re: [PATCH] x86, cpu: Fix X86_FEATURE_NOPL

From: Linus Torvalds
Date: Mon Oct 04 2010 - 17:13:14 EST


On Mon, Oct 4, 2010 at 2:02 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
> Actually, cpu_has() depends on:
> #if defined(CONFIG_X86_P6_NOP) || defined(CONFIG_X86_64)

Ahh. Right you are. The place that depends on just P6_NOP is the
default NOP choice logic in <asm/nops.h>

But the end result ends up being the same: can we please clean this
all up so that it isn't so confusing? Rather than add to the
confusion?

Linus
--
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/