From: Stafford Horne <shorne@gmail.com>
Date: Sat, 24 Sep 2016 13:20:42 +0000 (+0900)
Subject: openrisc: add NR_CPUS Kconfig default value
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

openrisc: add NR_CPUS Kconfig default value

The build system now expects that NR_CPUS is defined.

Follow 4cbbbb4 ("microblaze: Fix missing NR_CPUS in menuconfig")

Signed-off-by: Stafford Horne <shorne@gmail.com>
---

diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 489e7f909286..691e1af22b99 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -98,6 +98,9 @@ config OPENRISC_HAVE_INST_DIV
 	  Select this if your implementation has a hardware divide instruction
 endmenu
 
+config NR_CPUS
+	int
+	default "1"
 
 source kernel/Kconfig.hz
 source kernel/Kconfig.preempt