]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:19:15 +0000 (09:19 -0700)
commit87ddd670c859064694abf43f65cace9b5c8b76d0
tree0bc2903b589686c7b270680d88d7835b2c5e8e53
parent4cda9ad55639841439f9993b4d69e0c551610274
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