Skip to content

Commit

Permalink
x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt (Red Hat) authored and H. Peter Anvin committed Mar 7, 2014
1 parent 2432e13 commit b807902
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,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 */
Expand Down

0 comments on commit b807902

Please sign in to comment.