forked from Minki/linux
6b160e0513
The generic atomic.h used cmpxchg to implement the atomic
operations, it will cause daul loop to reduce the forward
guarantee. The patch implement csky custom atomic operations with
ldex/stex instructions for the best performance.
Important comment by Rutland:
|
||
---|---|---|
.. | ||
asm | ||
uapi/asm |