diff options
author | attilio <attilio@FreeBSD.org> | 2009-05-14 17:43:00 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-05-14 17:43:00 +0000 |
commit | 902219327c608b14c9bcbd63038b9842bae52f7b (patch) | |
tree | 22b20a38e37e187948ac0d924a006065dcd27968 /sys/i386/include/smp.h | |
parent | b8aa665b4a6150092ef1acac35dac70302c2795d (diff) | |
download | FreeBSD-src-902219327c608b14c9bcbd63038b9842bae52f7b.zip FreeBSD-src-902219327c608b14c9bcbd63038b9842bae52f7b.tar.gz |
FreeBSD right now support 32 CPUs on all the architectures at least.
With the arrival of 128+ cores it is necessary to handle more than that.
One of the first thing to change is the support for cpumask_t that needs
to handle more than 32 bits masking (which happens now). Some places,
however, still assume that cpumask_t is a 32 bits mask.
Fix that situation by using always correctly cpumask_t when needed.
While here, remove the part under STOP_NMI for the Xen support as it
is broken in any case.
Additively make ipi_nmi_pending as static.
Reviewed by: jhb, kmacy
Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index 33739cc..917c285 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -69,12 +69,12 @@ u_int mp_bootaddress(u_int); int mp_grab_cpu_hlt(void); void smp_cache_flush(void); void smp_invlpg(vm_offset_t addr); -void smp_masked_invlpg(u_int mask, vm_offset_t addr); +void smp_masked_invlpg(cpumask_t mask, vm_offset_t addr); void smp_invlpg_range(vm_offset_t startva, vm_offset_t endva); -void smp_masked_invlpg_range(u_int mask, vm_offset_t startva, +void smp_masked_invlpg_range(cpumask_t mask, vm_offset_t startva, vm_offset_t endva); void smp_invltlb(void); -void smp_masked_invltlb(u_int mask); +void smp_masked_invltlb(cpumask_t mask); #ifdef STOP_NMI int ipi_nmi_handler(void); |