lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 1/2] powerpc/32: refactor pmd_offset(pud_offset(pgd_offset...
Date
On Thu, 2020-01-09 at 08:25:25 UTC, Christophe Leroy wrote:
> At several places pmd pointer is retrieved through the same action:
>
> pmd = pmd_offset(pud_offset(pgd_offset(mm, addr), addr), addr);
>
> or
>
> pmd = pmd_offset(pud_offset(pgd_offset_k(addr), addr), addr);
>
> Refactor this by implementing two helpers pmd_ptr() and pmd_ptr_k()
>
> This will help when adding the p4d level.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/0b1c524caaae2428b20e714297243e5551251eb5

cheers

\
 
 \ /
  Last update: 2020-03-06 01:28    [W:0.068 / U:2.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site