commit | 713e9b802e21e762f31336da72bcfc32e1ab65ac | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Sep 30 22:08:00 2015 +0800 |
committer | Ley Foon Tan <lftan@altera.com> | Mon Nov 09 10:33:30 2015 +0800 |
tree | 596930c090db40d4410445d288913c782686e117 | |
parent | 4db2196d0c0de110779b1767d956995efefdb915 [diff] |
nios2: Switch to generic __xchg() 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@denx.de> Acked-by: Ley Foon Tan <lftan@altera.com>