diff mbox series

riscv: Fix use of undefined config option CONFIG_CONFIG_MMU

Message ID mvmzhfr5hkr.fsf_-_@suse.de (mailing list archive)
State New, archived
Headers show
Series riscv: Fix use of undefined config option CONFIG_CONFIG_MMU | expand

Commit Message

Andreas Schwab Dec. 17, 2019, 11:15 a.m. UTC
In Kconfig files, config options are written without the CONFIG_ prefix.

Fixes: 6bd33e1ece52 ("riscv: add nommu support")
Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anup Patel Dec. 17, 2019, 11:42 a.m. UTC | #1
On Tue, Dec 17, 2019 at 4:45 PM Andreas Schwab <schwab@suse.de> wrote:
>
> In Kconfig files, config options are written without the CONFIG_ prefix.
>
> Fixes: 6bd33e1ece52 ("riscv: add nommu support")
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>  arch/riscv/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index b7fc77c0e860..298662e72572 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -156,7 +156,7 @@ config GENERIC_HWEIGHT
>         def_bool y
>
>  config FIX_EARLYCON_MEM
> -       def_bool CONFIG_MMU
> +       def_bool MMU
>
>  config PGTABLE_LEVELS
>         int
> --
> 2.24.1
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."

Thanks Andreas for cashing this down.

Reviewed-by: Anup Patel <anup@brainfault.org>

Regards,
Anup
Paul Walmsley Dec. 17, 2019, 6:12 p.m. UTC | #2
On Tue, 17 Dec 2019, Andreas Schwab wrote:

> In Kconfig files, config options are written without the CONFIG_ prefix.
> 
> Fixes: 6bd33e1ece52 ("riscv: add nommu support")
> Signed-off-by: Andreas Schwab <schwab@suse.de>

Thanks Andreas, queued for v5.5-rc.

- Paul
diff mbox series

Patch

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index b7fc77c0e860..298662e72572 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -156,7 +156,7 @@  config GENERIC_HWEIGHT
 	def_bool y
 
 config FIX_EARLYCON_MEM
-	def_bool CONFIG_MMU
+	def_bool MMU
 
 config PGTABLE_LEVELS
 	int