sandbox: Add generic asm/atomic.h
authorTom Rini <trini@konsulko.com>
Tue, 12 Aug 2025 17:59:08 +0000 (11:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:25:28 +0000 (11:25 -0600)
commit66ff673a8e9f56d2c08a32d12867094c77ea5fd3
tree40e0dab5279b3000da8d0c2f8b6ae52240374095
parent58998fed9e63e8310a96229565d2996ad29d191e
sandbox: Add generic asm/atomic.h

In order to compile code that uses <asm/atomic.h> on sandbox, we must
provide this header. RISC-V shows us today how to do so with the generic
header implementation, so copy that.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/atomic.h [new file with mode: 0644]