linux/arch/mips
Yong Zhang cad9bc6904 MIPS: 64-bit: Fix o32 core dump
If an o32 process generates a core dump on a 64 bit kernel, the core file
will not be correctly recognized. This is because ELF_CORE_COPY_REGS and
ELF_CORE_COPY_TASK_REGS are not correctly defined for o32 and will use
the default register set which would be CONFIG_64BIT in asm/elf.h.

So we'll switch to use the right register defines in this situation by
checking for WANT_COMPAT_REG_H and use the right defines of
ELF_CORE_COPY_REGS and ELF_CORE_COPY_TASK_REGS.

[Ralf: made ELF_CORE_COPY_TASK_REGS() bullet-proof against funny arguments.]

Signed-off-by: Yong Zhang <yong.zhang@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-07-03 15:45:27 +01:00
..
alchemy MIPS: Alchemy: devboards: Convert to gpio calls. 2009-06-17 11:06:29 +01:00
ar7 MIPS: Add support for Texas Instruments AR7 System-on-a-Chip 2009-07-03 15:45:23 +01:00
basler/excite
bcm47xx
boot
cavium-octeon MIPS: Cavium: Add CPU hotplugging code. 2009-06-24 18:34:40 +01:00
cobalt
configs MIPS: Add support for Texas Instruments AR7 System-on-a-Chip 2009-07-03 15:45:23 +01:00
dec
emma
fw
gt64120/wrppmc
include/asm MIPS: 64-bit: Fix o32 core dump 2009-07-03 15:45:27 +01:00
jazz MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
kernel MIPS: 64-bit: Fix o32 core dump 2009-07-03 15:45:27 +01:00
lasat
lemote/lm2e
lib
math-emu
mipssim MIPS: MIPSsim: Fix build error if MSC01E_INT_BASE is undefined. 2009-06-24 18:34:39 +01:00
mm MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
mti-malta MIPS: CMP: Move gcmp_probe to before the SMP ops 2009-07-03 15:45:26 +01:00
nxp
oprofile
pci MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
pmc-sierra MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
power MIPS: Hibernation: Remove SMP TLB and cacheflushing code. 2009-06-24 18:34:39 +01:00
rb532 MIPS: RB532: Check irq number when handling GPIO interrupts 2009-06-17 11:06:27 +01:00
sgi-ip22
sgi-ip27 MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
sgi-ip32
sibyte MIPS: Sibyte: Fix build error if CONFIG_SERIAL_SB1250_DUART is undefined. 2009-06-24 18:34:39 +01:00
sni MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
txx9 MIPS: TXx9: Add TX4939 RNG support 2009-06-17 11:06:27 +01:00
vr41xx
Kconfig MIPS: CMP: Update sync-r4k for current kernel 2009-07-03 15:45:27 +01:00
Kconfig.debug
Makefile MIPS: Add support for Texas Instruments AR7 System-on-a-Chip 2009-07-03 15:45:23 +01:00