diff options
author | Christian Cunningham <cc@localhost> | 2021-12-20 19:57:18 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-20 19:57:18 -0800 |
commit | 5768e8059dc3b7f56361fe5b5c578294df3fdf67 (patch) | |
tree | 0f9e769c78c5a3bf874c84293c3d10e6693f3fec /src/cpu/atomic | |
parent | 234616cc369e056db7987c8217cbee77443be97d (diff) |
Implemented memory functions
Diffstat (limited to 'src/cpu/atomic')
-rw-r--r-- | src/cpu/atomic/swap.a.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/atomic/swap.a.h b/src/cpu/atomic/swap.a.h index 1ca2a52..5e8ff57 100644 --- a/src/cpu/atomic/swap.a.h +++ b/src/cpu/atomic/swap.a.h @@ -1,7 +1,6 @@ -#include "../../util/mutex.h" - #ifndef CPU_ATOMIC_SWAP_A_H #define CPU_ATOMIC_SWAP_A_H +#include "../../util/mutex.h" /// https://stackoverflow.com/questions/16329123/use-of-strexeq-instead-of-strex-for-spinlock-implementation-in-arm /// https://elixir.bootlin.com/linux/v4.9/source/arch/arm/include/asm/spinlock.h |