summaryrefslogtreecommitdiffstats
path: root/sys/arch/powerpc/include/atomic.h
AgeCommit message (Expand)AuthorFilesLines
2019-07-11Use "i" constrain instead of "n" constrain in inline assembly. Makes clangkettenis1-3/+3
2017-05-12Make atomic.h ready to be included in userland.mpi1-3/+4
2015-05-06put mpi's atomics back in, but with the return value of add (and therefore sub, inc, and dec) fixed.dlg1-2/+240
2015-04-24Revert back to using GCC builtins. This code triggers an off by one inmpi1-168/+2
2015-04-22Implement the MI atomic API for PowerPC to avoid using gcc builtins thatmpi1-2/+168
2014-06-19Implement the membar(9) API for powerpc.kettenis1-1/+17
2014-03-29It's been a quarter century: we can assume volatile is present with that name.guenther1-3/+3
2013-08-06The atomic_setbits_int() and atomic_clearbits_int() functions touch thekettenis1-3/+3
2011-03-23Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti1-4/+4
2007-03-17Implement proper atomic.h for powerpc. With help from art@ and drahn@.kettenis1-3/+17
2007-02-19only make this interface available to the kernel for now, discussed withaderaadt1-2/+5
2007-02-06Add machine/atomic.h to all architectures and define two operationsart1-0/+20