Skip to content

Commit b807902

Browse files
rostedtH. Peter Anvin
authored andcommitted
x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386
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> Link: http://lkml.kernel.org/r/20140206144321.409045251@goodmis.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1 parent 2432e13 commit b807902

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/x86/include/asm/thread_info.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,6 @@ static inline struct thread_info *current_thread_info(void)
182182
movl $-THREAD_SIZE, reg; \
183183
andl %esp, reg
184184

185-
/* use this one if reg already contains %esp */
186-
#define GET_THREAD_INFO_WITH_ESP(reg) \
187-
andl $-THREAD_SIZE, reg
188-
189185
#endif
190186

191187
#else /* X86_32 */

0 commit comments

Comments
 (0)