diff options
author | 2025-04-11 07:40:23 +0200 | |
---|---|---|
committer | 2025-04-11 11:01:33 +0200 | |
commit | 762255b743b81c5307c0e93b2eeee4e8b7424152 (patch) | |
tree | 3342468c18d28c768bc71e1c77e342a39e789953 | |
parent | x86/alternatives: Rename 'bp_desc' to 'int3_desc' (diff) | |
download | wireguard-linux-762255b743b81c5307c0e93b2eeee4e8b7424152.tar.xz wireguard-linux-762255b743b81c5307c0e93b2eeee4e8b7424152.zip |
x86/alternatives: Remove duplicate 'text_poke_early()' prototype
It's declared in <asm/text-patching.h> already.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: "H . Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250411054105.2341982-12-mingo@kernel.org
-rw-r--r-- | arch/x86/kernel/alternative.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index c6d0ca3d683b..b8794f756ea4 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. |