[PATCH] powerpc: Use user_mode() macro when possible

Michael Ellerman patch-notifications at ellerman.id.au
Thu Mar 14 00:19:43 AEDT 2024


On Fri, 16 Feb 2024 11:10:36 +0100, Christophe Leroy wrote:
> There is a nice macro to check user mode.
> 
> Use it instead of open coding anding with MSR_PR to increase
> readability and avoid having to comment what that anding is for.
> 
> 

Applied to powerpc/next.

[1/1] powerpc: Use user_mode() macro when possible
      https://git.kernel.org/powerpc/c/d5835fb60bad641dbae64fe30c02f10857bf4647

cheers


More information about the Linuxppc-dev mailing list