diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/elfcore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 7605c5e9589f..03ec16779802 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h | |||
@@ -125,6 +125,8 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* | |||
125 | #ifdef ELF_CORE_COPY_TASK_REGS | 125 | #ifdef ELF_CORE_COPY_TASK_REGS |
126 | 126 | ||
127 | return ELF_CORE_COPY_TASK_REGS(t, elfregs); | 127 | return ELF_CORE_COPY_TASK_REGS(t, elfregs); |
128 | #else | ||
129 | elf_core_copy_regs(elfregs, task_pt_regs(t)); | ||
128 | #endif | 130 | #endif |
129 | return 0; | 131 | return 0; |
130 | } | 132 | } |