[PATCH 1/4] [RFC] Add generic ARM instruction set condition code checks.

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Nov 21 14:08:48 EST 2011


On Mon, Nov 21, 2011 at 06:30:46PM +0000, Leif Lindholm wrote:
> +/*
> + * Returns:
> + * 0 - if condition fails
> + * 1 - if condition passes (including AL)
> + * 2 - if unconditional encoding (or before ARMv3, NV condition)

The comment is wrong.  NV always meant 'never execute' including v3,
v4 and v5 architectures.



More information about the linux-arm-kernel mailing list