loongarch: loongson3_defconfig: Enable CONFIG_JUMP_LABEL

Message ID 20230701083247.177482-1-xry111@xry111.site
State New
Headers
Series loongarch: loongson3_defconfig: Enable CONFIG_JUMP_LABEL |

Commit Message

Xi Ruoyao July 1, 2023, 8:32 a.m. UTC
  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(+)
  

Comments

Huacai Chen July 9, 2023, 3:52 a.m. UTC | #1
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
>
>
  

Patch

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