Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17775
b: refs/heads/master
c: d56efda
h: refs/heads/master
i:
  17773: 446aec4
  17771: cef3aab
  17767: e399905
  17759: 7838c68
v: v3
  • Loading branch information
Al Viro authored and unknown committed Jan 10, 2006
1 parent ec3039e commit a31cfe8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 830e9c002a5864e8cfcc55d3875cdebdd4168b00
refs/heads/master: d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *r)
return 1;
}

void dump_regs(elf_greg_t *gp, struct pt_regs *regs)
void elf_dump_regs(elf_greg_t *gp, struct pt_regs *regs)
{
int i;

Expand All @@ -231,7 +231,7 @@ int dump_task_regs (struct task_struct *tsk, elf_gregset_t *regs)
{
struct thread_info *ti = tsk->thread_info;
long ksp = (unsigned long)ti + THREAD_SIZE - 32;
dump_regs(&(*regs)[0], (struct pt_regs *) ksp - 1);
elf_dump_regs(&(*regs)[0], (struct pt_regs *) ksp - 1);
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-mips/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,12 @@ do { \

struct task_struct;

extern void dump_regs(elf_greg_t *, struct pt_regs *regs);
extern void elf_dump_regs(elf_greg_t *, struct pt_regs *regs);
extern int dump_task_regs (struct task_struct *, elf_gregset_t *);
extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *);

#define ELF_CORE_COPY_REGS(elf_regs, regs) \
dump_regs((elf_greg_t *)&(elf_regs), regs);
elf_dump_regs((elf_greg_t *)&(elf_regs), regs);
#define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
#define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) \
dump_task_fpu(tsk, elf_fpregs)
Expand Down

0 comments on commit a31cfe8

Please sign in to comment.