Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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