MIPS: Move register dump routines out of ptrace code
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>
Mon, 21 Nov 2016 10:23:38 +0000 (11:23 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:34:44 +0000 (16:34 +0100)
commit08c941bf6ec523d666a78f86e3d696ed45dfb6e5
tree233930faca8e590246adbbc19514d9f8bf6a5b82
parentbff323d5653cf0ad83391b5a5f4ec7cc32acad1a
MIPS: Move register dump routines out of ptrace code

Current register dump methods for MIPS are implemented inside ptrace
methods, but there will be other uses in the kernel for them, so keep
them separately in process.c and use those definitions for ptrace
instead.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14587/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h
arch/mips/kernel/process.c
arch/mips/kernel/ptrace.c