powerpc/booke: Clamp MAXCPU to 32 for Book-E platforms

Since the likelihood of new Book-E PowerPC SoCs being produced is near
zero clamp MAXCPU to around the highest number of cores/threads
available currently, for both 64-bit and 32-bit.  Even though the
current highest core/thread count is 24, the cap is set at 32 in case
there is code that assumes power of 2.
This commit is contained in:
Justin Hibbits 2022-08-06 11:35:44 -04:00
parent 1e73fbd8b2
commit 35ce7d40f9
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions WITH_CTF=1
options FPU_EMU
options MAXCPU=32
options _KPOSIX_PRIORITY_SCHEDULING
options ALT_BREAK_TO_DEBUGGER

View file

@ -17,6 +17,7 @@ makeoptions WITH_CTF=1
#makeoptions WERROR="-Werror -Wno-format"
options FPU_EMU
options MAXCPU=32
options _KPOSIX_PRIORITY_SCHEDULING
options ALT_BREAK_TO_DEBUGGER