ipq806x: Limit NR_CPUS to 2
authorRosen Penev <rosenp@gmail.com>
Thu, 7 Jun 2018 01:33:59 +0000 (18:33 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 18 Jun 2018 19:21:54 +0000 (21:21 +0200)
ipq806x is all dual core processors. ipq807x is quad core. Removes this
from dmesg:

RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit fff65dbe2436351ea1feee6c79110971ec4d5881)

target/linux/ipq806x/config-4.14

index 8d31e4f77d39ae9ed87530ef1c86e5c73a410717..d64e40637e9fda31c9d24ccbfb60a05ed8982123 100644 (file)
@@ -331,7 +331,7 @@ CONFIG_NO_BOOTMEM=y
 CONFIG_NO_HZ=y
 CONFIG_NO_HZ_COMMON=y
 CONFIG_NO_HZ_IDLE=y
-CONFIG_NR_CPUS=4
+CONFIG_NR_CPUS=2
 CONFIG_NVMEM=y
 CONFIG_OF=y
 CONFIG_OF_ADDRESS=y