openrisc: add NR_CPUS Kconfig default value
authorStafford Horne <shorne@gmail.com>
Sat, 24 Sep 2016 13:20:42 +0000 (22:20 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 12 Dec 2016 14:09:51 +0000 (23:09 +0900)
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>
arch/openrisc/Kconfig

index 489e7f9092862434c3b89d5a89bd0eaea91405f2..691e1af22b990d4db2d63d293f6fd9ccdd219e4d 100644 (file)
@@ -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