1
0
Fork 0

m68knommu: add a task_pt_regs() macro

Add a task_pt_regs() macro as per the CONFIG_UTRACE requirements.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
wifi-calibration
Greg Ungerer 2009-07-07 15:32:08 +10:00 committed by Greg Ungerer
parent 193f087d49
commit c23b6538d0
1 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,8 @@ unsigned long get_wchan(struct task_struct *p);
eip; })
#define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
#define task_pt_regs(tsk) ((struct pt_regs *) ((tsk)->thread.esp0))
#define cpu_relax() barrier()
#endif