]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/uaccess: correct check for CONFIG_PPC_E500 in mask_user_address()
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Mon, 15 Jun 2026 23:37:26 +0000 (16:37 -0700)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 15 Jul 2026 02:34:13 +0000 (08:04 +0530)
commitd610d3ab18197d87618da11ec5fe8b3cebf32208
tree716c33a037453682b952b04e2b6b0ac6203b2b7d
parentc1c1ffa490fc33591e90852ed0d38804dd20bc36
powerpc/uaccess: correct check for CONFIG_PPC_E500 in mask_user_address()

mask_user_address() incorrectly checks for CONFIG_E500 instead of
CONFIG_PPC_E500, causing mask_user_address_isel() to not be used on
E500 hardware. Fix the check to use the correct name.

Fixes: 861574d51bbd ("powerpc/uaccess: Implement masked user access")
Cc: stable@vger.kernel.org # 7.0+
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Fixes: 861574d51bbd ("powerpc/uaccess: Implement masked user access")
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260615233729.29386-1-enelsonmoore@gmail.com
arch/powerpc/include/asm/uaccess.h