summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:06:09 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:08:59 -0800
commitf5a61d0c13db3522a996075bc1b1884a8af2ed37 (patch)
treee234cb428cb501206e48b654ca6dc82cb389447e /include/asm-x86_64
parent75bb07e788abb060cc93b6f4dc48a70a53c1406b (diff)
downloadtalos-obmc-linux-f5a61d0c13db3522a996075bc1b1884a8af2ed37.tar.gz
talos-obmc-linux-f5a61d0c13db3522a996075bc1b1884a8af2ed37.zip
[PATCH] death of get_thread_info/put_thread_info
{get,put}_thread_info() were introduced in 2.5.4 and never had been called by anything in the tree. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/thread_info.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/thread_info.h b/include/asm-x86_64/thread_info.h
index eb7c5fda1870..4ac0e0a36934 100644
--- a/include/asm-x86_64/thread_info.h
+++ b/include/asm-x86_64/thread_info.h
@@ -76,8 +76,6 @@ static inline struct thread_info *stack_thread_info(void)
#define alloc_thread_info(tsk) \
((struct thread_info *) __get_free_pages(GFP_KERNEL,THREAD_ORDER))
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_ORDER)
-#define get_thread_info(ti) get_task_struct((ti)->task)
-#define put_thread_info(ti) put_task_struct((ti)->task)
#else /* !__ASSEMBLY__ */
OpenPOWER on IntegriCloud