diff options
Diffstat (limited to 'kern/sched.h')
-rw-r--r-- | kern/sched.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/sched.h b/kern/sched.h index 588e0aa6..07d27ff5 100644 --- a/kern/sched.h +++ b/kern/sched.h @@ -64,7 +64,9 @@ struct run_queue { queue_head_t runq[NRQS]; /* one for each priority */ - decl_simple_lock_data(, lock) /* one lock for all queues */ + decl_simple_lock_data(, lock) /* one lock for all queues, + shall be taken at splsched + only */ int low; /* low queue value */ int count; /* count of threads runable */ }; |