Hi, On Thu, Feb 26, 2015 at 01:35:04PM +0200, Kirill A. Shutemov wrote: > Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page > table levels folded. Usually, these defines are provided by > <asm-generic/pgtable-nopmd.h> and <asm-generic/pgtable-nopud.h>. > > But some architectures fold page table levels in a custom way. They need > to define these macros themself. This patch adds missing defines. > > The patch fixes mm->nr_pmds underflow and eliminates dead __pmd_alloc() > and __pud_alloc() on architectures without these page table levels. > > Signed-off-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com> > Cc: Aaro Koskinen <aaro.koski...@iki.fi>
PA-RISC change: Tested-by: Aaro Koskinen <aaro.koski...@iki.fi> A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/