Commit d46f61b2 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE



JUMP_LABEL_NOP_SIZE is now unused, remove it.

Fixes: 001951be ("jump_label, x86: Add variable length patching support")
Reported-by: default avatarMiroslav Benes <mbenes@suse.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/YJ00zxsvocDV5vLU@hirez.programming.kicks-ass.net
parent ab325704
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 = {};