On 11/05/16 04:09, Aneesh Kumar K.V wrote:
> Balbir Singh <bsinghar...@gmail.com> writes:
> 
>> Deduplicate to one function to compute the actual page size.
>> Some additional warnings added for AP size as well.
> 
> 
> This is getting chaned in a cleanup series I am testing before posting. 
> The change from ap to psize need more update in commit message. 
> 
> commit 701e0d3dc33c93a97b825f403d58f6be99b89203
> Author: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>
> Date:   Tue May 10 11:33:15 2016 +0530
> 
>     powerpc/mm/radix/hugetlb: Add helper for finding page size from hstate
>     
>     Use the helper instead of open coding the same at multiple place
>     
>     Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>

This version makes more sense. While we are at it, mind replacing psize with 
base_psize and asserting
that base_psize is always 0 or 5.

Balbir Singh.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to