[linux] 02/05: [mips*el/loongson-3] Set NR_CPUS=16 to allow for Loongson 3B2000
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sun Apr 16 16:23:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch sid
in repository linux.
commit c22c7deb178dc8e2612b6387d09dbbc137e96514
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sun Apr 16 17:00:42 2017 +0100
[mips*el/loongson-3] Set NR_CPUS=16 to allow for Loongson 3B2000
The Loongson 3B2000 has 4 cores and can apparently be used in a 4-way
configuration, for 16 CPUs.
I don't think the current configuration will run on a 3B2000, but this
should avoid an ABI break if we address that.
---
debian/changelog | 1 +
debian/config/kernelarch-mips/config.loongson-3 | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f787ff9..8d103f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ linux (4.9.18-2) UNRELEASED; urgency=medium
* udeb: Include all AHCI drivers in sata-modules (Closes: #860335)
* [powerpc/powerpc64,ppc64] Set NR_CPUS=2048, matching ppc64el
* [powerpc*/*64*] Enable CPUMASK_OFFSTACK to reduce stack usage
+ * [mips*el/loongson-3] Set NR_CPUS=16 to allow for Loongson 3B2000
[ Salvatore Bonaccorso ]
* ping: implement proper locking (CVE-2017-2671)
diff --git a/debian/config/kernelarch-mips/config.loongson-3 b/debian/config/kernelarch-mips/config.loongson-3
index a8235bf..acf7a37 100644
--- a/debian/config/kernelarch-mips/config.loongson-3
+++ b/debian/config/kernelarch-mips/config.loongson-3
@@ -10,6 +10,7 @@ CONFIG_64BIT=y
## end choice
CONFIG_SMP=y
CONFIG_HOTPLUG_CPU=y
+CONFIG_NR_CPUS=16
##
## file: arch/mips/loongson64/Kconfig
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list