Files
android_kernel_xiaomi_sm8450/arch/parisc/include/asm
Kirill A. Shutemov c07af4f1ce mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines
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.shutemov@linux.intel.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: David Howells <dhowells@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-28 09:57:51 -08:00
..
2014-04-18 14:20:41 +02:00
2012-06-05 14:10:17 +09:00
2014-02-02 20:57:16 +01:00
2009-01-05 19:11:05 +00:00
2013-11-07 22:28:26 +01:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2013-02-20 22:50:26 +01:00
2013-11-07 22:28:54 +01:00
2010-10-07 14:08:55 +01:00
2011-07-26 16:49:47 -07:00
2012-03-28 18:30:02 +01:00
2013-11-07 22:27:20 +01:00
2012-03-28 18:30:02 +01:00
2015-02-17 10:39:14 +01:00