MIPS: asm/reg.h: Make 32- and 64-bit definitions available at the same time
authorAlex Smith <alex@alex-smith.me.uk>
Wed, 23 Jul 2014 13:40:08 +0000 (14:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 21:27:40 +0000 (23:27 +0200)
commitbcec7c8da6b092b1ff3327fd83c2193adb12f684
treebe250ce95317697e91fd4c1d7f69248d8473e18a
parent65768a1a92cb12cbba87588927cf597a65d560aa
MIPS: asm/reg.h: Make 32- and 64-bit definitions available at the same time

Get rid of the WANT_COMPAT_REG_H test and instead define both the 32-
and 64-bit register offset definitions at the same time with
MIPS{32,64}_ prefixes, then define the existing EF_* names to the
correct definitions for the kernel's bitness.

This patch is a prerequisite of the following bug fix patch.

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
Cc: <stable@vger.kernel.org> # v3.13+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7451/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/reg.h
arch/mips/kernel/binfmt_elfo32.c