projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ 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
|
blame
|
history
diff --git
a/arch/m68k/include/asm/processor.h
b/arch/m68k/include/asm/processor.h
index 74fd674b15ad9f88f712632789098e233f1a0f0f..cbd3d4751dd2998bb8732652b2bb66d9bd9a4b1d 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