projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f43e23
)
openrisc: add NR_CPUS Kconfig default value
author
Stafford Horne
<shorne@gmail.com>
Sat, 24 Sep 2016 13:20:42 +0000
(22:20 +0900)
committer
Stafford 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
patch
|
blob
|
history
diff --git
a/arch/openrisc/Kconfig
b/arch/openrisc/Kconfig
index 489e7f9092862434c3b89d5a89bd0eaea91405f2..691e1af22b990d4db2d63d293f6fd9ccdd219e4d 100644
(file)
--- 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