[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <162097570937.29796.12372580213594221006.tip-bot2@tip-bot2>
Date: Fri, 14 May 2021 07:01:49 -0000
From: "tip-bot2 for Peter Zijlstra" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Miroslav Benes <mbenes@...e.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: objtool/core] jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: d46f61b20b060f03b58fde170ee618f17dc6f99d
Gitweb: https://git.kernel.org/tip/d46f61b20b060f03b58fde170ee618f17dc6f99d
Author: Peter Zijlstra <peterz@...radead.org>
AuthorDate: Thu, 13 May 2021 16:16:47 +02:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Fri, 14 May 2021 09:00:09 +02:00
jump_label/x86: Remove unused JUMP_LABEL_NOP_SIZE
JUMP_LABEL_NOP_SIZE is now unused, remove it.
Fixes: 001951bea748 ("jump_label, x86: Add variable length patching support")
Reported-by: Miroslav Benes <mbenes@...e.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Link: https://lore.kernel.org/r/YJ00zxsvocDV5vLU@hirez.programming.kicks-ass.net
---
arch/x86/kernel/jump_label.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/kernel/jump_label.c b/arch/x86/kernel/jump_label.c
index a762dc1..674906f 100644
--- 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 = {};
Powered by blists - more mailing lists