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 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: H. Peter Anvin <[email protected]>
1 parent 2432e13 commit b807902

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)