mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Removing a dead definition or RSB_FILL_LOOPS
@ 2019-12-26 20:45 Anthony Steinhauser
  2020-01-02 10:07 ` [tip: x86/cleanups] x86/nospec: Remove unused RSB_FILL_LOOPS tip-bot2 for Anthony Steinhauser
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Steinhauser @ 2019-12-26 20:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, bp, tglx, Anthony Steinhauser

It is never used, but it is misleading.
Signed-off-by: Anthony Steinhauser <asteinhauser@google.com>
---
 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 5c24a7b35166..07e95dcb40ad 100644
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -37,7 +37,6 @@
  */
 
 #define RSB_CLEAR_LOOPS		32	/* To forcibly overwrite all entries */
-#define RSB_FILL_LOOPS		16	/* To avoid underflow */
 
 /*
  * Google experimented with loop-unrolling and this turned out to be
-- 
2.24.1.735.g03f4e72817-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-02 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 20:45 [PATCH] Removing a dead definition or RSB_FILL_LOOPS Anthony Steinhauser
2020-01-02 10:07 ` [tip: x86/cleanups] x86/nospec: Remove unused RSB_FILL_LOOPS tip-bot2 for Anthony Steinhauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®