[PATCH] x86/entry/64: Remove unused icebp macro

From: Borislav Petkov
Date: Mon Feb 12 2018 - 15:13:52 EST


On Mon, Feb 12, 2018 at 02:18:55AM -0800, tip-bot for Dominik Brodowski wrote:
> Commit-ID: 5a10e729bc0aa9420a23a70b169eadd229c27bc1
> Gitweb: https://git.kernel.org/tip/5a10e729bc0aa9420a23a70b169eadd229c27bc1
> Author: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
> AuthorDate: Sun, 11 Feb 2018 11:49:48 +0100
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Mon, 12 Feb 2018 08:06:37 +0100
>
> x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly

Ontop:

---
From: Borislav Petkov <bp@xxxxxxx>

That macro was touched around 2.5.8 times, judging by the full history
linux repo, but it was unused even then. Get rid of it already.

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
arch/x86/entry/calling.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 6985440c68fa..dce7092ab24a 100644
--- a/arch/x86/entry/calling.h
+++ b/arch/x86/entry/calling.h
@@ -159,10 +159,6 @@ For 32-bit we have the following conventions - kernel is built with
.if \pop_rdi
popq %rdi
.endif
- .endm
-
- .macro icebp
- .byte 0xf1
.endm

/*
--
2.13.0

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.