[PATCH -V6 16/27] mm/THP: HPAGE_SHIFT is not a #define on some arch
Andrea Arcangeli
aarcange at redhat.com
Tue Apr 23 01:43:23 EST 2013
On Mon, Apr 22, 2013 at 03:30:50PM +0530, Aneesh Kumar K.V wrote:
> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
>
> On archs like powerpc that support different hugepage sizes, HPAGE_SHIFT
> and other derived values like HPAGE_PMD_ORDER are not constants. So move
> that to hugepage_init
>
> Cc: Andrea Arcangeli <aarcange at redhat.com>
>
> Reviewed-by: David Gibson <david at gibson.dropbear.id.au>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Reviewed-by: Andrea Arcangeli <aarcange at redhat.com>
More information about the Linuxppc-dev
mailing list