diff options
author | Glenn Miles <milesg@linux.ibm.com> | 2024-11-14 15:21:19 -0600 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-11-27 02:49:31 +1000 |
commit | 2fc0a78a57731fda50d5b01e16fd68681900f709 (patch) | |
tree | ba9a00ea37f70a8e402201bbdc509a48b52a5b18 /hw/avr/atmega.c | |
parent | 96746f7a95a6e32d6578d417ae41dc24c564fafa (diff) |
target/ppc: Fix THREAD_SIBLING_FOREACH for multi-socket
The THREAD_SIBLING_FOREACH macro wasn't excluding threads from other
chips. Add chip_index field to the thread state and add a check for the
new field in the macro.
Fixes: b769d4c8f4c6 ("target/ppc: Add initial flags and helpers for SMT support")
Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
[npiggin: set chip_index for spapr too]
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/avr/atmega.c')
0 files changed, 0 insertions, 0 deletions