[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>
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user