提交 fcf1492d 编写于 作者: A Al Viro

elf_core_copy_task_regs(): task_pt_regs is defined everywhere

Had been since 2011 for all live architectures, ever since 2013
for all architectures, period.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 4b0e21d6
...@@ -88,7 +88,7 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* ...@@ -88,7 +88,7 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t*
{ {
#if defined (ELF_CORE_COPY_TASK_REGS) #if defined (ELF_CORE_COPY_TASK_REGS)
return ELF_CORE_COPY_TASK_REGS(t, elfregs); return ELF_CORE_COPY_TASK_REGS(t, elfregs);
#elif defined (task_pt_regs) #else
elf_core_copy_regs(elfregs, task_pt_regs(t)); elf_core_copy_regs(elfregs, task_pt_regs(t));
#endif #endif
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册