summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2016-09-24 22:20:42 +0900
committerStafford Horne <shorne@gmail.com>2016-12-12 23:09:51 +0900
commit34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af (patch)
treefc9f7d35ac250588273237901370ab94ca07bbad /arch/openrisc/Kconfig
parent1f43e235dfc44be335e484dae88928e997036026 (diff)
downloadlinux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.tar.gz
linux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.tar.bz2
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>
Diffstat (limited to 'arch/openrisc/Kconfig')
-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