Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e5c8f5f authored by Tobias Klauser's avatar Tobias Klauser Committed by Ley Foon Tan
Browse files

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 4cbbbb43 ("microblaze: Fix missing NR_CPUS in menuconfig")

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarLey Foon Tan <lftan@altera.com>
parent c16b15f7
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -79,6 +79,10 @@ menu "Processor type and features"
config MMU
config MMU
	def_bool y
	def_bool y


config NR_CPUS
	int
	default "1"

config NIOS2_ALIGNMENT_TRAP
config NIOS2_ALIGNMENT_TRAP
	bool "Catch alignment trap"
	bool "Catch alignment trap"
	default y
	default y