[LTP] tst_atomic_add_return() implementation for sparc
Petr Vorel
pvorel@suse.cz
Wed May 10 18:21:57 CEST 2017
Hi,
I'm trying to add tst_atomic_add_return() implementation for sparc.
It seems to me from current kernel sources [1], that it uses atomic_add_return() from
<linux/atomic.h> [2] (generated by __atomic_op_fence()).
But it's out of my scope to generate the correct implementation. Anyone having a clue how
to implement it?
BTW this problem was reported as build failure by buildroot project [3].
Kind regards,
Petr
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/sparc/include/asm/atomic_64.h?id=refs/tags/v4.11
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/atomic.h?id=refs/tags/v4.11
[3]: http://autobuild.buildroot.net/results/d7c/d7c3b145a64ed3916b89ddb4090050f3b9205e37/build-end.log
More information about the ltp
mailing list