summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-16 22:40:47 +0000
committer <ralf@denk.linux-mips.net>2006-01-10 13:39:08 +0000
commitd56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3 (patch)
tree4c7a91fb4f73f37517654a0d10fa92e62b7ede3f /arch/mips/kernel/process.c
parent830e9c002a5864e8cfcc55d3875cdebdd4168b00 (diff)
downloadlinux-stable-d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3.tar.gz
linux-stable-d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3.tar.bz2
linux-stable-d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3.zip
MIPS: Namespace pollution: dump_regs() -> elf_dump_regs()
dump_regs() is used by a bunch of drivers for their internal stuff; renamed mips instance (one that is seen in system-wide headers) to elf_dump_regs() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r--arch/mips/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index dd725779d91f..0476a4dce14e 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -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;
@@ -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;
}