diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 01:06:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 09:08:58 -0800 |
commit | 95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3 (patch) | |
tree | 367ddcc3858b9c3e852ea2f6bafaffd43424c9e5 /include/asm-cris | |
parent | 0cec6fd1370807f98934e84c9e6147335b81d8a5 (diff) | |
download | kernel_samsung_tuna-95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3.zip kernel_samsung_tuna-95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3.tar.gz kernel_samsung_tuna-95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3.tar.bz2 |
[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>
Diffstat (limited to 'include/asm-cris')
-rw-r--r-- | include/asm-cris/processor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index dce4100..961e2bc 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h @@ -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) { |