]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-cris/processor.h
[PATCH] cris: task_pt_regs()
[linux-2.6-omap-h63xx.git] / include / asm-cris / processor.h
index dce41009eeb086a17811c7e1095709672ddedac4..961e2bceadbc645915fd1379ed939cf008db19ff 100644 (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)
 {