summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-11 15:07:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-11 15:09:52 +0100
commit36c4fbd5e309b89b4c2df2b2e8dfade02f260c4e (patch)
tree04b653d8e769a918353a02557ae9c21a518bea8c
parentaadb433981b086bfb4e082757fed1154582d5497 (diff)
task: fix addressability of assign_active field
It is used for thread_wakeup and alike.
-rw-r--r--kern/task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/task.h b/kern/task.h
index dec3a530..9521e953 100644
--- a/kern/task.h
+++ b/kern/task.h
@@ -62,9 +62,9 @@ struct task {
int ref_count; /* Number of references to me */
/* Flags */
- unsigned int active:1, /* Task has not been terminated */
+ unsigned char assign_active; /* waiting for may_assign */
+ unsigned char active:1, /* Task has not been terminated */
/* boolean_t */ may_assign:1, /* can assigned pset be changed? */
- assign_active:1, /* waiting for may_assign */
essential:1; /* Is this task essential for the system? */
/* Miscellaneous */