mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] sparc: task_thread_info()
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:
parent
308a792f7c
commit
d562ef6a23
6 changed files with 9 additions and 9 deletions
|
@ -337,7 +337,7 @@ EXPORT_SYMBOL(dump_stack);
|
|||
*/
|
||||
unsigned long thread_saved_pc(struct task_struct *tsk)
|
||||
{
|
||||
return tsk->thread_info->kpc;
|
||||
return task_thread_info(tsk)->kpc;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -724,7 +724,7 @@ unsigned long get_wchan(struct task_struct *task)
|
|||
task->state == TASK_RUNNING)
|
||||
goto out;
|
||||
|
||||
fp = task->thread_info->ksp + bias;
|
||||
fp = task_thread_info(task)->ksp + bias;
|
||||
do {
|
||||
/* Bogus frame pointer? */
|
||||
if (fp < (task_base + sizeof(struct thread_info)) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue