FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT

Roland Dreier rdreier at cisco.com
Thu Feb 5 08:31:43 EST 2009


 > You should be able to find the head of a compound page using the
 > compound_head() inline, so try

 > 	PAGE_SIZE << compound_order(compound_head(page))

Thanks!  Looks like that should be exactly what we need.

 - R.



More information about the Linuxppc-dev mailing list