ARM: atomic.h: move generic implementation to asm-generic
For easier code-sharing, the UBIFS code still uses the Linux atomic
accessors.  Make porting it to sandbox easier, by providing these
functions for all platforms.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 26efcc8 commit 386db316df56ea65db89335d6523dd4719933586
@Ahmad Fatoum Ahmad Fatoum authored on 2 Jun 2020
Sascha Hauer committed on 3 Jun 2020
Showing 2 changed files
View
arch/arm/include/asm/atomic.h
View
include/asm-generic/atomic.h 0 → 100644