summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2016-09-24 15:20:42 +0200
committerStafford Horne <shorne@gmail.com>2016-12-12 15:09:51 +0100
commit34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af (patch)
treefc9f7d35ac250588273237901370ab94ca07bbad
parentopenrisc: Support both old (or32) and new (or1k) toolchain (diff)
downloadlinux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.tar.xz
linux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.zip
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>
-rw-r--r--arch/openrisc/Kconfig3
1 files changed, 3 insertions, 0 deletions
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