From 5768e8059dc3b7f56361fe5b5c578294df3fdf67 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Mon, 20 Dec 2021 19:57:18 -0800 Subject: Implemented memory functions --- src/cpu/atomic/swap.a.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cpu') 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 -- cgit v1.2.1