projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b751b
)
sparc: Add task_pt_regs().
author
David S. Miller
<davem@davemloft.net>
Sun, 27 Jul 2008 10:43:51 +0000
(
03:43
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jul 2008 00:33:55 +0000
(17:33 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/processor_32.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/processor_32.h
b/arch/sparc/include/asm/processor_32.h
index 718e7e01418180186fc183bd1f3988854e9d45bb..2ae67a2e7f3a877c21644cbd83adac3e235ae522 100644
(file)
--- a/
arch/sparc/include/asm/processor_32.h
+++ b/
arch/sparc/include/asm/processor_32.h
@@
-114,6
+114,7
@@
extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
extern unsigned long get_wchan(struct task_struct *);
+#define task_pt_regs(tsk) ((tsk)->thread.kregs)
#define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc)
#define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])