[RFC PATCH v2 14/20] powerpc/e500: Remove enc field from struct mmu_psize_def

Oscar Salvador osalvador at suse.de
Sat May 25 14:35:32 AEST 2024


On Fri, May 17, 2024 at 09:00:08PM +0200, Christophe Leroy wrote:
> enc field is hidden behind BOOK3E_PAGESZ_XX macros, and when you look
> closer you realise that this field is nothing else than the value of
> shift minus ten.
> 
> So remove enc field and calculate tsize from shift field.
> 
> Also remove inc filed which is unused.
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>

Reviewed-by: Oscar Salvador <osalvador at suse.de>

-- 
Oscar Salvador
SUSE Labs


More information about the Linuxppc-dev mailing list