summaryrefslogtreecommitdiff
path: root/arch/cris/Kconfig
diff options
context:
space:
mode:
authorJesper Nilsson <jespern@axis.com>2015-01-15 19:30:40 +0300
committerJesper Nilsson <jespern@axis.com>2015-01-29 12:10:08 +0300
commitdd82094cced036801d56bf4e1f64f83f210475ee (patch)
tree088693ce10a4196d2fe987d58e5dba68bdb0f129 /arch/cris/Kconfig
parent00c5794d2df7a8586d4c1dc11c54ea5714fbe17f (diff)
downloadlinux-dd82094cced036801d56bf4e1f64f83f210475ee.tar.xz
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/cris/Kconfig')
-rw-r--r--arch/cris/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 52731e221851..4a03911053ab 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"