Messages in this thread Patch in this message | | | Date | Thu, 06 Feb 2014 09:41:29 -0500 | From | Steven Rostedt <> | Subject | [PATCH 2/5] x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386 |
| |
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
| |