On Wed, Nov 07, 2018 at 01:54:32PM -0700, Logan Gunthorpe wrote: > This define is used by arm64 to calculate the size of the vmemmap > region. It is defined as the log2 of the upper bound on the size > of a struct page. > > We move it into mm_types.h so it can be defined properly instead of > set and checked with a build bug. This also allows us to use the same > define for riscv. > > Signed-off-by: Logan Gunthorpe <[email protected]> > Acked-by: Will Deacon <[email protected]> > Acked-by: Andrew Morton <[email protected]> > Cc: Catalin Marinas <[email protected]> > Cc: Arnd Bergmann <[email protected]> > Cc: Christoph Hellwig <[email protected]>
Acked-by: Catalin Marinas <[email protected]>

