diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-07-17 19:25:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-17 19:25:46 -0700 |
| commit | 5773262567608d397ec0aa41b250db1e3bb5e694 (patch) | |
| tree | e4296e35931e469e7562388ec4a847e0f8fd60cc /include | |
| parent | 923a1b0fecbfe58a303916a1b3a65b22e46238a9 (diff) | |
[PATCH] pass regs into dump_fpu() in elf coredump
From: Pete Zaitcev <zaitcev@redhat.com>
sparc32 needs the registers passed into dump_fpu().
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/elfcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 089d67225207..dbd7bb4a33b7 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -107,12 +107,12 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* extern int dump_fpu (struct pt_regs *, elf_fpregset_t *); -static inline int elf_core_copy_task_fpregs(struct task_struct *t, elf_fpregset_t *fpu) +static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu) { #ifdef ELF_CORE_COPY_FPREGS return ELF_CORE_COPY_FPREGS(t, fpu); #else - return dump_fpu(NULL, fpu); + return dump_fpu(regs, fpu); #endif } |
