Skip to content

Commit d46f61b

Browse files
Peter Zijlstraingomolnar
authored andcommitted
jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
JUMP_LABEL_NOP_SIZE is now unused, remove it. Fixes: 001951b ("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
1 parent ab32570 commit d46f61b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

arch/x86/kernel/jump_label.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#include <asm/text-patching.h>
1818
#include <asm/insn.h>
1919

20-
#define JUMP_LABEL_NOP_SIZE JMP32_INSN_SIZE
21-
2220
int arch_jump_entry_size(struct jump_entry *entry)
2321
{
2422
struct insn insn = {};

0 commit comments

Comments
 (0)