]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 12:13:32 +0000 (14:13 +0200)
commit65aa3aa330f8974f89ee359352ceebd375dff4eb
tree51711703f059dd4ab5fbd693fe3183187250fc09
parentcd68970599d2f48a6176e4de5a3abc7c87db9a21
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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/mips/include/asm/reg.h
arch/mips/kernel/binfmt_elfo32.c