diff options
author | jhb <jhb@FreeBSD.org> | 2015-05-22 21:51:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-05-22 21:51:36 +0000 |
commit | b92445bf9a2ef33df94a7bff88476bf99d58a84b (patch) | |
tree | 6e5e85e6d461fcdf3c05690bc9350cd8df1ab060 /sys/amd64/include/param.h | |
parent | 59be327480c095b26da7900354fc02b4b776a5db (diff) | |
download | FreeBSD-src-b92445bf9a2ef33df94a7bff88476bf99d58a84b.zip FreeBSD-src-b92445bf9a2ef33df94a7bff88476bf99d58a84b.tar.gz |
MFC 266852,270223:
- Fix pf(4) to build with MAXCPU set to 256. MAXCPU is actually a count,
not a maximum ID value (so it is a cap on mp_ncpus, not mp_maxid).
- Bump MAXCPU on amd64 from 64 to 256. In practice APIC only permits 255
CPUs (IDs 0 through 254). Getting above that limit requires x2APIC.
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r-- | sys/amd64/include/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h index 3d4722b..e8991b0 100644 --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -65,7 +65,7 @@ #if defined(SMP) || defined(KLD_MODULE) #ifndef MAXCPU -#define MAXCPU 64 +#define MAXCPU 256 #endif #else #define MAXCPU 1 |