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 <[email protected]>
---
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
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 <[email protected]> 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 <[email protected]>
> ---
> 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
>
>