瀏覽代碼

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>
Stafford Horne 9 年之前
父節點
當前提交
34bbdcdcda
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      arch/openrisc/Kconfig

+ 3 - 0
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