| Date | Thu, 13 May 2021 16:16:47 +0200 | From | Peter Zijlstra <> | Subject | [PATCH 07.5/13] jump_label,x86: Remove unused JUMP_LABEL_NOP_SIZE |
| |
Subject: jump_label,x86: Remove unused JUMP_LABEL_NOP_SIZE From: Peter Zijlstra <peterz@infradead.org> Date: Thu May 13 13:53:16 CEST 2021
JUMP_LABEL_NOP_SIZE is now unused, remove it.
Fixes: 001951bea748 ("jump_label, x86: Add variable length patching support") Reported-by: Miroslav Benes <mbenes@suse.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> --- arch/x86/kernel/jump_label.c | 2 -- 1 file changed, 2 deletions(-)
--- a/arch/x86/kernel/jump_label.c +++ b/arch/x86/kernel/jump_label.c @@ -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 = {};
|