diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-11 15:07:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-11 15:09:52 +0100 |
commit | 36c4fbd5e309b89b4c2df2b2e8dfade02f260c4e (patch) | |
tree | 04b653d8e769a918353a02557ae9c21a518bea8c /kern | |
parent | aadb433981b086bfb4e082757fed1154582d5497 (diff) | |
download | gnumach-36c4fbd5e309b89b4c2df2b2e8dfade02f260c4e.tar.gz gnumach-36c4fbd5e309b89b4c2df2b2e8dfade02f260c4e.tar.bz2 gnumach-36c4fbd5e309b89b4c2df2b2e8dfade02f260c4e.zip |
task: fix addressability of assign_active field
It is used for thread_wakeup and alike.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/task.h | 4 |
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 */ |