summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-10-27 08:28:16 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-10-27 08:29:54 +0100
commit4cbbbb43d666468d87f99676cf05fb5154d1228b (patch)
tree559025ef25390220ddccc0f7b73ac8d091db16d4 /arch
parentLinux 3.18-rc2 (diff)
downloadlinux-4cbbbb43d666468d87f99676cf05fb5154d1228b.tar.xz
linux-4cbbbb43d666468d87f99676cf05fb5154d1228b.zip
microblaze: Fix missing NR_CPUS in menuconfig
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 6feded3b0c4c..a7736fa0580c 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -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