Re: [PATCH] Use correct byte-sized register constraint in __xchg_op()

From: Josh Boyer
Date: Tue Apr 03 2012 - 20:37:21 EST


On Mon, Apr 2, 2012 at 7:15 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> x86-64 can access the low half of any register, but i386 can only do
> it with a subset of registers.  'r' causes compilation failures on i386,
> but 'q' expresses the constraint properly.
>
> Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> Reported-by: Leigh Scott <leigh123linux@xxxxxxxxxxxxxx>
> Tested-by: Thomas Reitmayr <treitmayr@xxxxxxxxxx>

This should be CC'd to stable, given the bug shows up in 3.3, right?

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