[PATCH] loongarch: loongson3_defconfig: Enable CONFIG_JUMP_LABEL

Xi Ruoyao posted 1 patch 2 years, 7 months ago
arch/loongarch/configs/loongson3_defconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] loongarch: loongson3_defconfig: Enable CONFIG_JUMP_LABEL
Posted by Xi Ruoyao 2 years, 7 months ago
As it's an optimization without any real disadvantages, let's enable it
like the defconfig of other architecture supporting it.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
 arch/loongarch/configs/loongson3_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
index 6cd26dd3c134..33a0f5f742f6 100644
--- a/arch/loongarch/configs/loongson3_defconfig
+++ b/arch/loongarch/configs/loongson3_defconfig
@@ -63,6 +63,7 @@ CONFIG_EFI_ZBOOT=y
 CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER=y
 CONFIG_EFI_CAPSULE_LOADER=m
 CONFIG_EFI_TEST=m
+CONFIG_JUMP_LABEL=y
 CONFIG_MODULES=y
 CONFIG_MODULE_FORCE_LOAD=y
 CONFIG_MODULE_UNLOAD=y
-- 
2.41.0
Re: [PATCH] loongarch: loongson3_defconfig: Enable CONFIG_JUMP_LABEL
Posted by Huacai Chen 2 years, 7 months ago
Hi, Ruoyao,

This has already been enabled here [1] for the next cycle.

[1] https://github.com/chenhuacai/linux/commit/03f4dca2d838b34aa8618b9d378afb706f810d56

Huacai

On Sat, Jul 1, 2023 at 4:33 PM Xi Ruoyao <xry111@xry111.site> wrote:
>
> As it's an optimization without any real disadvantages, let's enable it
> like the defconfig of other architecture supporting it.
>
> Signed-off-by: Xi Ruoyao <xry111@xry111.site>
> ---
>  arch/loongarch/configs/loongson3_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
> index 6cd26dd3c134..33a0f5f742f6 100644
> --- a/arch/loongarch/configs/loongson3_defconfig
> +++ b/arch/loongarch/configs/loongson3_defconfig
> @@ -63,6 +63,7 @@ CONFIG_EFI_ZBOOT=y
>  CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER=y
>  CONFIG_EFI_CAPSULE_LOADER=m
>  CONFIG_EFI_TEST=m
> +CONFIG_JUMP_LABEL=y
>  CONFIG_MODULES=y
>  CONFIG_MODULE_FORCE_LOAD=y
>  CONFIG_MODULE_UNLOAD=y
> --
> 2.41.0
>
>