]> git.karo-electronics.de Git - mv-sheeva.git/commit
MIPS: compat: Don't clobber personality bits in 32-bit sys_personality().
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 2 Nov 2010 00:43:08 +0000 (17:43 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:10:54 +0000 (18:10 +0000)
commitd62c9ced7ca783e64ff4d9d3d1340cfe2284d47b
tree6485cecd4bcf8a010cb04198dc2b9bd1d3c8d2fc
parent1c0d52b9b5e6ca277c13d6fece9c34ed3159423d
MIPS: compat: Don't clobber personality bits in 32-bit sys_personality().

If PER_LINUX32 has been set on a 32-bit kernel, only twiddle with the
low-order personality bits, let the upper bits pass through.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Cc: Camm Maguire <camm@maguirefamily.org>
Patchwork: https://patchwork.linux-mips.org/patch/1751/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/linux32.c