Skip to content

Commit

Permalink
openrisc: add NR_CPUS Kconfig default value
Browse files Browse the repository at this point in the history
The build system now expects that NR_CPUS is defined.

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

Signed-off-by: Stafford Horne <[email protected]>
  • Loading branch information
stffrdhrn committed Dec 12, 2016
1 parent 1f43e23 commit 34bbdcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/openrisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34bbdcd

Please sign in to comment.