diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-06-02 10:54:05 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-06-03 10:03:33 +0200 |
commit | b8b83ea42f121d81ced4a919191c669e90390f84 (patch) | |
tree | 9a071ce7605d44c17c80794e3b5a5a4001e6cccb /arch/sandbox | |
parent | 606dff6ef4190ed1833aa9569ce7464968d46820 (diff) | |
download | barebox-b8b83ea42f121d81ced4a919191c669e90390f84.tar.gz barebox-b8b83ea42f121d81ced4a919191c669e90390f84.tar.xz |
sandbox: asm: implement <asm/atomic.h>
For easier code-sharing, the UBIFS code still uses the Kernel's
atomic accessors. Provide a sandbox <asm/atomic.h> header, so we
can compile-test UBI under sandbox.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/include/asm/atomic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/atomic.h b/arch/sandbox/include/asm/atomic.h new file mode 100644 index 0000000000..af12dee130 --- /dev/null +++ b/arch/sandbox/include/asm/atomic.h @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0-only +#include <asm-generic/atomic.h> |