[PATCH 1/3] microblaze: Fix missing NR_CPUS in menuconfig
From: Michal Simek
Date: Mon Oct 27 2014 - 04:25:00 EST
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@xxxxxxxxxx>
---
arch/microblaze/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
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
--
1.8.2.3
Attachment:
pgpyGztBXADAc.pgp
Description: PGP signature