diff options
author | Stafford Horne <shorne@gmail.com> | 2016-09-24 09:20:42 -0400 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2016-12-12 09:09:51 -0500 |
commit | 34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af (patch) | |
tree | fc9f7d35ac250588273237901370ab94ca07bbad | |
parent | 1f43e235dfc44be335e484dae88928e997036026 (diff) |
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>
-rw-r--r-- | arch/openrisc/Kconfig | 3 |
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 | |||
98 | Select this if your implementation has a hardware divide instruction | 98 | Select this if your implementation has a hardware divide instruction |
99 | endmenu | 99 | endmenu |
100 | 100 | ||
101 | config NR_CPUS | ||
102 | int | ||
103 | default "1" | ||
101 | 104 | ||
102 | source kernel/Kconfig.hz | 105 | source kernel/Kconfig.hz |
103 | source kernel/Kconfig.preempt | 106 | source kernel/Kconfig.preempt |