FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT

Andrew Morton akpm at linux-foundation.org
Wed Feb 4 17:26:01 EST 2009


On Tue, 03 Feb 2009 22:16:08 -0800 Roland Dreier <rdreier at cisco.com> 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.




More information about the Linuxppc-dev mailing list