Hi, This patch set includes a number of fixes and cleanups for ptrace and core dumps. The bulk of the changes are to make core dumps work again, which have been broken since the core dumper was switched to use regsets. This series applies on top of Ralf's mips-for-linux-next branch. Thanks, Alex Alex Smith (11): MIPS: ptrace: Avoid smp_processor_id() when retrieving FPU IR MIPS: ptrace: Test correct task's flags in task_user_regset_view() MIPS: asm/reg.h: Make 32- and 64-bit definitions available at the same time MIPS: ptrace: Change GP regset to use correct core dump register layout MIPS: ptrace: Always copy FCSR in FP regset MIPS: O32/32-bit: Fix bug which can cause incorrect system call restarts MIPS: O32/32-bit: Remove outdated comment MIPS: ptrace: Fix user pt_regs definition, use in ptrace_{get,set}regs() MIPS: Remove old core dump functions MIPS: Remove asm/user.h MIPS: asm/reg.h: Move to uapi arch/mips/include/asm/Kbuild | 1 + arch/mips/include/asm/elf.h | 17 --- arch/mips/include/asm/ptrace.h | 8 +- arch/mips/include/asm/reg.h | 129 +---------------- arch/mips/include/asm/user.h | 58 -------- arch/mips/include/uapi/asm/ptrace.h | 25 ++-- arch/mips/include/uapi/asm/reg.h | 206 ++++++++++++++++++++++++++ arch/mips/kernel/binfmt_elfo32.c | 38 ----- arch/mips/kernel/process.c | 57 +------- arch/mips/kernel/ptrace.c | 281 +++++++++++++++++++++++++++--------- arch/mips/kernel/ptrace32.c | 10 +- arch/mips/kernel/scall32-o32.S | 2 - 12 files changed, 447 insertions(+), 385 deletions(-) delete mode 100644 arch/mips/include/asm/user.h create mode 100644 arch/mips/include/uapi/asm/reg.h -- 1.9.1