Subject: Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT

From: Andrew Morton <[email-masked]>
Date: Tue, 3 Feb 2009 22:26:01 -0800

On Tue, 03 Feb 2009 22:16:08 -0800 Roland Dreier <[email-masked]> wrote:

>  > I think it's something like
>  > 
>  > 	huge_page_size(page_hstate(page))
> 
> That would suit.  I assume the intention is for that to be usable by
> driver modules on any architecture?
> 

erm, you overestimate the amount of planning and forethought which goes
into these things ;)

The lack of any EXPORT_SYMBOL(size_to_hstate) is a broadish hint.