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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:03:58 +0000 (09:03 -0700)
commit887c148946c4cf2259355197672eeeb070cf8284
tree86e89aab2ce2e69d9758f4c501b294dfe787c15d
parentf020cedd010180e759cb6cce817b8a60ea6311a1
MIPS: asm/reg.h: Make 32- and 64-bit definitions available at the same time

commit bcec7c8da6b092b1ff3327fd83c2193adb12f684 upstream.

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: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7451/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/reg.h
arch/mips/kernel/binfmt_elfo32.c