diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 10:06:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 18:08:59 +0100 |
commit | f5a61d0c13db3522a996075bc1b1884a8af2ed37 (patch) | |
tree | e234cb428cb501206e48b654ca6dc82cb389447e /include/asm-sh | |
parent | [PATCH] mips: task_stack_page() (diff) | |
download | linux-f5a61d0c13db3522a996075bc1b1884a8af2ed37.tar.xz 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-sh')
-rw-r--r-- | include/asm-sh/thread_info.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-sh/thread_info.h b/include/asm-sh/thread_info.h index 46080cefaff8..85f0c11b4319 100644 --- a/include/asm-sh/thread_info.h +++ b/include/asm-sh/thread_info.h @@ -60,8 +60,6 @@ static inline struct thread_info *current_thread_info(void) #define THREAD_SIZE (2*PAGE_SIZE) #define alloc_thread_info(ti) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) -#define get_thread_info(ti) get_task_struct((ti)->task) -#define put_thread_info(ti) put_task_struct((ti)->task) #else /* !__ASSEMBLY__ */ |