[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159248379681.3471720.4172093587973243088.b4-ty@ellerman.id.au>
Date: Thu, 18 Jun 2020 22:37:16 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...nel.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Christophe Leroy <christophe.leroy@....fr>,
Mike Rapoport <rppt@...ux.ibm.com>, linux-mm@...ck.org
Subject: Re: [PATCH] powerpc/8xx: use pmd_off() to access a PMD entry in pte_update()
On Mon, 15 Jun 2020 12:22:29 +0300, Mike Rapoport wrote:
> The pte_update() implementation for PPC_8xx unfolds page table from the PGD
> level to access a PMD entry. Since 8xx has only 2-level page table this can
> be simplified with pmd_off() shortcut.
>
> Replace explicit unfolding with pmd_off() and drop defines of pgd_index()
> and pgd_offset() that are no longer needed.
Applied to powerpc/fixes.
[1/1] powerpc/8xx: use pmd_off() to access a PMD entry in pte_update()
https://git.kernel.org/powerpc/c/687993ccf3b05070598b89fad97410b26d7bc9d2
cheers
Powered by blists - more mailing lists