mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
1e73fbd8b2
commit
35ce7d40f9
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue