Re: [PATCH] powerpc/64e: Rewrite p4d_populate() as a static inline function

2022-07-04 Thread Michael Ellerman
On Thu, 23 Jun 2022 10:56:57 +0200, Christophe Leroy wrote: > Rewrite p4d_populate() as a static inline function instead of > a macro. > > This change allows typechecking and would have helped detecting > a recently found bug in map_kernel_page(). > > > [...] Applied to powerpc/next. [1/1]

Re: [PATCH] powerpc/64e: Rewrite p4d_populate() as a static inline function

2022-06-23 Thread Mike Rapoport
On Thu, Jun 23, 2022 at 10:56:57AM +0200, Christophe Leroy wrote: > Rewrite p4d_populate() as a static inline function instead of > a macro. > > This change allows typechecking and would have helped detecting > a recently found bug in map_kernel_page(). > > Cc: Mike Rapoport > Signed-off-by:

[PATCH] powerpc/64e: Rewrite p4d_populate() as a static inline function

2022-06-23 Thread Christophe Leroy
Rewrite p4d_populate() as a static inline function instead of a macro. This change allows typechecking and would have helped detecting a recently found bug in map_kernel_page(). Cc: Mike Rapoport Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/64/pgalloc.h | 5 - 1