Add include/asm-generic/atomic.h
authorChris Packham <judge.packham@gmail.com>
Sat, 8 Sep 2018 09:39:04 +0000 (21:39 +1200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Sep 2018 01:49:18 +0000 (21:49 -0400)
commit461f4568176b2dc2228f2a901f5c1a1b12a2ebc9
tree39f8d38fca946eb5518d0e525b73179e43d7339c
parent29cfc096a7d3aeefdabbe4487097857ea821a553
Add include/asm-generic/atomic.h

The arm, xtensa and mips version of atomic.h were already very similar
(the mips one was a copy of xtensa). Combine these implementations
together to produce a generic atomic.h that can be included by these
architectures (and any others that need it in future).

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/asm-generic/atomic.h [new file with mode: 0644]