diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-11-24 03:13:39 -0500 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2014-12-07 23:56:13 -0500 |
commit | 6e5c8f5f66020077486d88003f0a5371462e2585 (patch) | |
tree | 87374cd24d4df94a70adb77a2c038c8efece415b /arch/nios2 | |
parent | c16b15f7e86526fdabf1295db5ffa0db12ec9950 (diff) |
nios2: Add missing NR_CPUS to Kconfig
kernel/time/Kconfig expects that NR_CPUS is defined.
This fixes the following config warning:
"kernel/time/Kconfig:163:warning: range is invalid"
Follow 4cbbbb43d666 ("microblaze: Fix missing NR_CPUS in menuconfig")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 8a4889d24db1..a0ea080f8a5d 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig | |||
@@ -79,6 +79,10 @@ menu "Processor type and features" | |||
79 | config MMU | 79 | config MMU |
80 | def_bool y | 80 | def_bool y |
81 | 81 | ||
82 | config NR_CPUS | ||
83 | int | ||
84 | default "1" | ||
85 | |||
82 | config NIOS2_ALIGNMENT_TRAP | 86 | config NIOS2_ALIGNMENT_TRAP |
83 | bool "Catch alignment trap" | 87 | bool "Catch alignment trap" |
84 | default y | 88 | default y |