From: Ingo Molnar Date: Fri, 11 Apr 2025 05:40:23 +0000 (+0200) Subject: x86/alternatives: Remove duplicate 'text_poke_early()' prototype X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=762255b743b81c5307c0e93b2eeee4e8b7424152;p=users%2Fdwmw2%2Flinux.git x86/alternatives: Remove duplicate 'text_poke_early()' prototype It's declared in already. Signed-off-by: Ingo Molnar Cc: Juergen Gross Cc: "H . Peter Anvin" Cc: Linus Torvalds Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250411054105.2341982-12-mingo@kernel.org --- diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index c6d0ca3d683b0..b8794f756ea4a 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -176,7 +176,6 @@ extern s32 __return_sites[], __return_sites_end[]; extern s32 __cfi_sites[], __cfi_sites_end[]; extern s32 __ibt_endbr_seal[], __ibt_endbr_seal_end[]; extern s32 __smp_locks[], __smp_locks_end[]; -void text_poke_early(void *addr, const void *opcode, size_t len); /* * Matches NOP and NOPL, not any of the other possible NOPs.