aboutsummaryrefslogtreecommitdiff
path: root/include/cpu/atomic/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cpu/atomic/swap.h')
-rw-r--r--include/cpu/atomic/swap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/cpu/atomic/swap.h b/include/cpu/atomic/swap.h
index 57a5add..87cf382 100644
--- a/include/cpu/atomic/swap.h
+++ b/include/cpu/atomic/swap.h
@@ -8,7 +8,6 @@
/// https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/3_Processes.html
/// https://developer.arm.com/documentation/dht0008/a/arm-synchronization-primitives/practical-uses/implementing-a-semaphore?lang=en
-// TODO: Once scheduling works, have a failed lock put thread in waiting state
static inline void atm_lock(unsigned long pid, unsigned long* addr)
{
unsigned long tmp, current_lock_value;