Commit c23b6538 authored by Greg Ungerer's avatar Greg Ungerer Committed by Greg Ungerer

m68knommu: add a task_pt_regs() macro

Add a task_pt_regs() macro as per the CONFIG_UTRACE requirements.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 193f087d
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment