[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YJ00zxsvocDV5vLU@hirez.programming.kicks-ass.net>
Date: Thu, 13 May 2021 16:16:47 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: x86@...nel.org, jpoimboe@...hat.com, jbaron@...mai.com,
rostedt@...dmis.org, ardb@...nel.org
Cc: linux-kernel@...r.kernel.org
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@...radead.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@...e.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.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 = {};
Powered by blists - more mailing lists