summaryrefslogtreecommitdiffstats
path: root/arch/nios2/lib/memmove.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-09-30 22:08:00 +0800
committerLey Foon Tan <lftan@altera.com>2015-11-09 10:33:30 +0800
commit713e9b802e21e762f31336da72bcfc32e1ab65ac (patch)
tree596930c090db40d4410445d288913c782686e117 /arch/nios2/lib/memmove.c
parent4db2196d0c0de110779b1767d956995efefdb915 (diff)
downloadop-kernel-dev-713e9b802e21e762f31336da72bcfc32e1ab65ac.zip
op-kernel-dev-713e9b802e21e762f31336da72bcfc32e1ab65ac.tar.gz
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>
Diffstat (limited to 'arch/nios2/lib/memmove.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud