[PATCH] s390: task_pt_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
579b3ea591
commit
c7584fb6b4
7 changed files with 22 additions and 23 deletions
|
|
@ -112,7 +112,7 @@ static inline int dump_regs32(struct pt_regs *ptregs, elf_gregset_t *regs)
|
|||
|
||||
static inline int dump_task_regs32(struct task_struct *tsk, elf_gregset_t *regs)
|
||||
{
|
||||
struct pt_regs *ptregs = __KSTK_PTREGS(tsk);
|
||||
struct pt_regs *ptregs = task_pt_regs(tsk);
|
||||
int i;
|
||||
|
||||
memcpy(®s->psw.mask, &ptregs->psw.mask, 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue