git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193f087
)
m68knommu: add a task_pt_regs() macro
author
Greg Ungerer
<gerg@uclinux.org>
Tue, 7 Jul 2009 05:32:08 +0000
(15:32 +1000)
committer
Greg Ungerer
<gerg@goober.(none)>
Fri, 4 Dec 2009 01:45:30 +0000
(11:45 +1000)
Add a task_pt_regs() macro as per the CONFIG_UTRACE requirements.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/m68k/include/asm/processor.h
b/arch/m68k/include/asm/processor.h
index
74fd674
..
cbd3d47
100644
(file)
--- a/
arch/m68k/include/asm/processor.h
+++ b/
arch/m68k/include/asm/processor.h
@@
-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