aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/ia32/elfcore32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/ia32/elfcore32.h')
-rw-r--r--arch/ia64/ia32/elfcore32.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/ia32/elfcore32.h b/arch/ia64/ia32/elfcore32.h
index b73b8b6b10c1..a47f63b204fb 100644
--- a/arch/ia64/ia32/elfcore32.h
+++ b/arch/ia64/ia32/elfcore32.h
@@ -95,8 +95,7 @@ static inline void elf_core_copy_regs(elf_gregset_t *elfregs,
static inline int elf_core_copy_task_regs(struct task_struct *t,
elf_gregset_t* elfregs)
{
- struct pt_regs *pp = ia64_task_regs(t);
- ELF_CORE_COPY_REGS((*elfregs), pp);
+ ELF_CORE_COPY_REGS((*elfregs), task_pt_regs(t));
return 1;
}