From: Steven Rostedt (Red Hat) Date: Thu, 6 Feb 2014 14:41:29 +0000 (-0500) Subject: x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b807902a88c470eb06d0acdf3b6590f27f5dce81;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Link: http://lkml.kernel.org/r/20140206144321.409045251@goodmis.org Signed-off-by: H. Peter Anvin --- diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index b7aa975561e2..1cb3501636d2 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h @@ -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 */