Re: [PATCH 1/2] AMD errata checking framework

From: H. Peter Anvin
Date: Fri Jun 11 2010 - 16:16:04 EST


On 06/11/2010 06:25 AM, Hans Rosenfeld wrote:
> + if (static_cpu_has(X86_FEATURE_OSVW) &&

static_cpu_has() is only well-defined for code that is only executed
after alternatives execution; that would not seem to be the case for
this code.

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