]> git.karo-electronics.de Git - linux-beck.git/commitdiff
microblaze: Fix missing NR_CPUS in menuconfig
authorMichal Simek <michal.simek@xilinx.com>
Mon, 27 Oct 2014 07:28:16 +0000 (08:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 Oct 2014 07:29:54 +0000 (08:29 +0100)
The time Kconfig expects that NR_CPUS is defined.

This patch remove this config warning:
"kernel/time/Kconfig:163:warning: range is invalid"

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig

index 6feded3b0c4c1eb6d1414082a9f9318041129a39..a7736fa0580cc2e000cf1613d7b21dbe7aba4dcc 100644 (file)
@@ -129,6 +129,10 @@ endmenu
 
 menu "Kernel features"
 
+config NR_CPUS
+       int
+       default "1"
+
 config ADVANCED_OPTIONS
        bool "Prompt for advanced kernel configuration options"
        help