Re: [PATCH 09/10] x86, asm: Use CC_SET()/CC_OUT() and static_cpu_has() in archrandom.h

From: Andy Lutomirski
Date: Wed Jun 08 2016 - 01:12:26 EST


On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
> Use CC_SET()/CC_OUT() and static_cpu_has(). This produces code good
> enough to eliminate ad hoc use of alternatives in <asm/archrandom.h>,
> greatly simplifying the code.

Looks reasonable.