[PATCH 2/5] x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386

Steven Rostedt
2014-02-06T14:43:28Z

[-- Attachment #1: 0002-x86-Nuke-GET_THREAD_INFO_WITH_ESP-macro-for-i386.patch --]
[-- Type: text/plain, Size: 791 bytes --]

From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>

According to a git log -p, GET_THREAD_INFO_WITH_ESP() has only been defined
and never been used. Get rid of it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
arch/x86/include/asm/thread_info.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
index e012ed0..ee029e4 100644
--- a/arch/x86/include/asm/thread_info.h
+++ b/arch/x86/include/asm/thread_info.h
@@ -180,10 +180,6 @@ static inline struct thread_info *current_thread_info(void)
movl $-THREAD_SIZE, reg; \
andl %esp, reg

-/* use this one if reg already contains %esp */
-#define GET_THREAD_INFO_WITH_ESP(reg) \
- andl $-THREAD_SIZE, reg
-
#endif

#else /* X86_32 */
--
1.8.4.3