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