[PATCH] cris: task_pt_regs()

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:
Al Viro
2006-01-12 01:06:03 -08:00
committed by Linus Torvalds
parent 0cec6fd137
commit 95ca0dc603
5 changed files with 11 additions and 10 deletions

View File

@@ -45,7 +45,8 @@ struct task_struct;
* Dito but for the currently running task
*/
#define current_regs() user_regs(current->thread_info)
#define task_pt_regs(task) user_regs(task_thread_info(task))
#define current_regs() task_pt_regs(current)
static inline void prepare_to_copy(struct task_struct *tsk)
{