diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 01:05:36 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 09:08:50 -0800 |
commit | 37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8 (patch) | |
tree | baa1ce07e948e5b91cfb3cd5d139f8d45e1ba325 /include/asm-alpha/processor.h | |
parent | 9fc658763bf992e778243ebe898b03746151ab88 (diff) | |
download | kernel_samsung_smdk4412-37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8.zip kernel_samsung_smdk4412-37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8.tar.gz kernel_samsung_smdk4412-37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8.tar.bz2 |
[PATCH] alpha: task_thread_info()
use task_thread_info() for accesses to thread_info of task in arch/alpha
and include/asm-alpha
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-alpha/processor.h')
-rw-r--r-- | include/asm-alpha/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/processor.h b/include/asm-alpha/processor.h index bb1a7a3..12a14a5 100644 --- a/include/asm-alpha/processor.h +++ b/include/asm-alpha/processor.h @@ -64,7 +64,7 @@ unsigned long get_wchan(struct task_struct *p); (*(unsigned long *)(PT_REG(pc) + (unsigned long) ((tsk)->thread_info))) #define KSTK_ESP(tsk) \ - ((tsk) == current ? rdusp() : (tsk)->thread_info->pcb.usp) + ((tsk) == current ? rdusp() : task_thread_info(tsk)->pcb.usp) #define cpu_relax() barrier() |