aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/conf/MPC85XXSPE
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2019-02-10 20:21:20 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2019-02-10 20:21:20 +0000
commitdcbd7de5b66ac485ea29f73c9c24c89ae4cd3992 (patch)
tree2151f0c6125c7d24dc5d81149b206d46c041539f /sys/powerpc/conf/MPC85XXSPE
parentf68992cf666e80664c62e32af24eb5280c74dcd3 (diff)
downloadsrc-dcbd7de5b66ac485ea29f73c9c24c89ae4cd3992.tar.gz
src-dcbd7de5b66ac485ea29f73c9c24c89ae4cd3992.zip
powerpc: Clamp MAXCPU for MPC85XXSPE kernel to 2
SoCs with e500v2 chips only have at most 2 cores, and there are no plans to release any more e500v2-based SoCs. Clamping MAXCPU down to 2 saves 5MB of data, and 1.5MB bss.
Notes
Notes: svn path=/head/; revision=343970
Diffstat (limited to 'sys/powerpc/conf/MPC85XXSPE')
-rw-r--r--sys/powerpc/conf/MPC85XXSPE1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/conf/MPC85XXSPE b/sys/powerpc/conf/MPC85XXSPE
index 08b1eee4342f..8a7d0e74f6b3 100644
--- a/sys/powerpc/conf/MPC85XXSPE
+++ b/sys/powerpc/conf/MPC85XXSPE
@@ -16,6 +16,7 @@ makeoptions WITH_CTF=1
makeoptions WERROR="-Werror -Wno-format -Wno-redundant-decls"
options FPU_EMU
+options MAXCPU=2
options _KPOSIX_PRIORITY_SCHEDULING
options ALT_BREAK_TO_DEBUGGER