mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 18:12:25 -04:00
jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
JUMP_LABEL_NOP_SIZE is now unused, remove it.
Fixes: 001951bea7 ("jump_label, x86: Add variable length patching support")
Reported-by: Miroslav Benes <mbenes@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/YJ00zxsvocDV5vLU@hirez.programming.kicks-ass.net
This commit is contained in:
committed by
Ingo Molnar
parent
ab3257042c
commit
d46f61b20b
@@ -17,8 +17,6 @@
|
||||
#include <asm/text-patching.h>
|
||||
#include <asm/insn.h>
|
||||
|
||||
#define JUMP_LABEL_NOP_SIZE JMP32_INSN_SIZE
|
||||
|
||||
int arch_jump_entry_size(struct jump_entry *entry)
|
||||
{
|
||||
struct insn insn = {};
|
||||
|
||||
Reference in New Issue
Block a user