Skip to content
Commit d62c9ced authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

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: default avatarDavid 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1c0d52b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment