mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 02:19:54 +00:00
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>
This commit is contained in:
committed by
H. Peter Anvin
parent
2432e1364b
commit
b807902a88
@@ -182,10 +182,6 @@ static inline struct thread_info *current_thread_info(void)
|
|||||||
movl $-THREAD_SIZE, reg; \
|
movl $-THREAD_SIZE, reg; \
|
||||||
andl %esp, reg
|
andl %esp, reg
|
||||||
|
|
||||||
/* use this one if reg already contains %esp */
|
|
||||||
#define GET_THREAD_INFO_WITH_ESP(reg) \
|
|
||||||
andl $-THREAD_SIZE, reg
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* X86_32 */
|
#else /* X86_32 */
|
||||||
|
|||||||
Reference in New Issue
Block a user