X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-cris%2Fprocessor.h;h=568da1deceb908d9f89f341b810954b3958d1487;hb=fe2520094d88018423dfc42b3cd0015f74e8adea;hp=dce41009eeb086a17811c7e1095709672ddedac4;hpb=ad8f76be48d817b48222411ae16a7dfe257bdb24;p=linux-2.6 diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index dce41009ee..568da1dece 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h @@ -10,7 +10,6 @@ #ifndef __ASM_CRIS_PROCESSOR_H #define __ASM_CRIS_PROCESSOR_H -#include #include #include #include @@ -45,7 +44,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) {