diff options
author | Stafford Horne <shorne@gmail.com> | 2016-09-24 15:20:42 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2016-12-12 15:09:51 +0100 |
commit | 34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af (patch) | |
tree | fc9f7d35ac250588273237901370ab94ca07bbad | |
parent | openrisc: Support both old (or32) and new (or1k) toolchain (diff) | |
download | linux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.tar.xz linux-34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af.zip |
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 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 |