projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab32570
)
jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 13 May 2021 14:16:47 +0000
(16:16 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Fri, 14 May 2021 07:00:09 +0000
(09:00 +0200)
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/YJ00zxsvocDV5vLU@hirez.programming.kicks-ass.net
arch/x86/kernel/jump_label.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/jump_label.c
b/arch/x86/kernel/jump_label.c
index
a762dc1
..
674906f
100644
(file)
--- 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 = {};