diff options
author | Damien Zammit <damien@zamaudio.com> | 2024-02-12 05:38:24 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-12 18:56:57 +0100 |
commit | eb7b9cf26a71c9fea472a8fba18c699b6d98fe33 (patch) | |
tree | 995ddf40c3fa1475253d15a211b48494e114886c /kern | |
parent | 744e84302311df9eec9452936a26b16d8649c384 (diff) | |
download | gnumach-eb7b9cf26a71c9fea472a8fba18c699b6d98fe33.tar.gz gnumach-eb7b9cf26a71c9fea472a8fba18c699b6d98fe33.tar.bz2 gnumach-eb7b9cf26a71c9fea472a8fba18c699b6d98fe33.zip |
smp: Set processor set to non-empty when adding a processor
This allows the slave_pset to be used for actual tasks
with the processor_set RPCs.
Message-ID: <20240212053817.1919056-1-damien@zamaudio.com>
Diffstat (limited to 'kern')
-rw-r--r-- | kern/processor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/processor.c b/kern/processor.c index f06b5d62..71bbb757 100644 --- a/kern/processor.c +++ b/kern/processor.c @@ -245,6 +245,7 @@ void pset_add_processor( queue_enter(&pset->processors, processor, processor_t, processors); processor->processor_set = pset; pset->processor_count++; + pset->empty = FALSE; quantum_set(pset); } |