[PATCH v2] powerpc/32s: Cleanup the mess in __set_pte_at()

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 23 21:55:55 AEST 2023


On Tue, 15 Aug 2023 19:42:40 +0200, Christophe Leroy wrote:
> __set_pte_at() handles 3 main cases with #ifdefs plus the 'percpu'
> subcase which leads to code duplication.
> 
> Rewrite the function using IS_ENABLED() to minimise the total number
> of cases and remove duplicated code.
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/32s: Cleanup the mess in __set_pte_at()
      https://git.kernel.org/powerpc/c/7cb0094be4a5dfb3c91d285977f489d334455e19

cheers


More information about the Linuxppc-dev mailing list