diff options
author | sbruno <sbruno@FreeBSD.org> | 2011-05-14 17:56:13 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2011-05-14 17:56:13 +0000 |
commit | 743de88b75a2b2c470eddf243e06c04dbe8663c2 (patch) | |
tree | 388adb7c2c8bed371307c9ac1bb7fadd2bda4108 /sys/sys/smp.h | |
parent | 548a471624011260b4f4033bddb96cfa5bd895bd (diff) | |
download | FreeBSD-src-743de88b75a2b2c470eddf243e06c04dbe8663c2.zip FreeBSD-src-743de88b75a2b2c470eddf243e06c04dbe8663c2.tar.gz |
Increase size of cg_count to allow us to utilize >128 CPUs.
Pad cg_count and cg_children to keep the struct aligned
Reviewed by: attilio@
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r-- | sys/sys/smp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h index 410adfa..66e8008 100644 --- a/sys/sys/smp.h +++ b/sys/sys/smp.h @@ -35,8 +35,8 @@ struct cpu_group { struct cpu_group *cg_parent; /* Our parent group. */ struct cpu_group *cg_child; /* Optional children groups. */ cpuset_t cg_mask; /* Mask of cpus in this group. */ - int8_t cg_count; /* Count of cpus in this group. */ - int8_t cg_children; /* Number of children groups. */ + int32_t cg_count; /* Count of cpus in this group. */ + int16_t cg_children; /* Number of children groups. */ int8_t cg_level; /* Shared cache level. */ int8_t cg_flags; /* Traversal modifiers. */ }; |