summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJesper Nilsson <jespern@axis.com>2015-01-15 17:30:40 +0100
committerJesper Nilsson <jespern@axis.com>2015-01-29 10:10:08 +0100
commitdd82094cced036801d56bf4e1f64f83f210475ee (patch)
tree088693ce10a4196d2fe987d58e5dba68bdb0f129 /arch
parent00c5794d2df7a8586d4c1dc11c54ea5714fbe17f (diff)
downloadop-kernel-dev-dd82094cced036801d56bf4e1f64f83f210475ee.zip
op-kernel-dev-dd82094cced036801d56bf4e1f64f83f210475ee.tar.gz
CRIS: Fix missing NR_CPUS in menuconfig
The time Kconfig expects that NR_CPUS is defined. This patch removes this config warning: "kernel/time/Kconfig:163:warning: range is invalid" Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 52731e2..4a03911 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -57,6 +57,10 @@ config HZ
int
default 100
+config NR_CPUS
+ int
+ default "1"
+
source "init/Kconfig"
source "kernel/Kconfig.freezer"
OpenPOWER on IntegriCloud