[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1531872194-39207-1-git-send-email-jiang.biao2@zte.com.cn>
Date: Wed, 18 Jul 2018 08:03:14 +0800
From: Jiang Biao <jiang.biao2@....com.cn>
To: tglx@...utronix.de, mingo@...hat.com
Cc: x86@...nel.org, hpa@...or.com, dwmw@...zon.co.uk,
konrad.wilk@...cle.com, bp@...e.de, linux-kernel@...r.kernel.org,
zhong.weidong@....com.cn, jiang.biao2@....com.cn
Subject: [PATCH] x86/speculation: remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
SPECTRE_V2_IBRS in enum spectre_v2_mitigation is never used, remove
it to avoid confusing.
Signed-off-by: Jiang Biao <jiang.biao2@....com.cn>
---
arch/x86/include/asm/nospec-branch.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
index f6f6c63..c99082e 100644
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -214,7 +214,6 @@ enum spectre_v2_mitigation {
SPECTRE_V2_RETPOLINE_MINIMAL_AMD,
SPECTRE_V2_RETPOLINE_GENERIC,
SPECTRE_V2_RETPOLINE_AMD,
- SPECTRE_V2_IBRS,
};
/* The Speculative Store Bypass disable variants */
--
2.7.4
Powered by blists - more mailing lists