summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 043f14de..e4d8f7cf 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1861,7 +1861,7 @@ thread_lock_runq(struct thread *thread, unsigned long *flags)
struct thread_runq *runq;
for (;;) {
- runq = thread->runq;
+ runq = thread->runq; /* TODO Atomic access */
spinlock_lock_intr_save(&runq->lock, flags);