Skip to content

Commit

Permalink
jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
Browse files Browse the repository at this point in the history
JUMP_LABEL_NOP_SIZE is now unused, remove it.

Fixes: 001951b ("jump_label, x86: Add variable length patching support")
Reported-by: Miroslav Benes <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed May 14, 2021
1 parent ab32570 commit d46f61b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/jump_label.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit d46f61b

Please sign in to comment.