CRIS: Fix missing NR_CPUS in menuconfig
authorJesper Nilsson <jespern@axis.com>
Thu, 15 Jan 2015 16:30:40 +0000 (17:30 +0100)
committerJesper Nilsson <jespern@axis.com>
Thu, 29 Jan 2015 09:10:08 +0000 (10:10 +0100)
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>
arch/cris/Kconfig

index 52731e221851137ce57ad7aa7b176cbe07e116a6..4a03911053ab8df634cfa200158fb54aa4ac3aca 100644 (file)
@@ -57,6 +57,10 @@ config HZ
        int
        default 100
 
+config NR_CPUS
+       int
+       default "1"
+
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"