blob: 9e2bfc3b03d872d24d0d47f7bfb4d30e7d22133e [file] [log] [blame]
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: init-modpost-conditionally-check-section-mismatch-to-__meminit-fix
Date: Wed, 10 Jul 2024 09:28:02 +1000
remove MEM_KEEP from arch/powerpc/kernel/vmlinux.lds.S
Link: https://lkml.kernel.org/r/20240710093213.2aefb25f@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/powerpc/kernel/vmlinux.lds.S | 2 --
1 file changed, 2 deletions(-)
--- a/arch/powerpc/kernel/vmlinux.lds.S~init-modpost-conditionally-check-section-mismatch-to-__meminit-fix
+++ a/arch/powerpc/kernel/vmlinux.lds.S
@@ -123,8 +123,6 @@ SECTIONS
*/
*(.sfpr);
*(.text.asan.* .text.tsan.*)
- MEM_KEEP(init.text)
- MEM_KEEP(exit.text)
} :text
. = ALIGN(PAGE_SIZE);
_