Re: [PATCH] nios2: Switch to generic __xchg()

From: Ley Foon Tan
Date: Thu Oct 01 2015 - 04:12:17 EST


On Sat, Sep 19, 2015 at 12:41 PM, Marek Vasut <marex@xxxxxxx> wrote:
> The generic __xchg() implementation present in asm-generic/cmpxchg.h
> is correct on nios2 and even generates the same code. Switch to this
> generic implementation to trim down the amount of ad-hoc copies of
> the code.
>
> Signed-off-by: Marek Vasut <marex@xxxxxxx>

Acked-by: Ley Foon Tan <lftan@xxxxxxxxxx>
--
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/