1
0
Files
linux/arch/s390/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-03-04 10:41:04 +01:00
2014-04-18 14:20:42 +02:00
2013-02-14 15:55:16 +01:00
2014-11-03 13:29:47 +01:00
2015-01-22 12:16:01 +01:00
2014-12-08 14:03:43 +01:00
2013-01-08 10:57:09 +01:00
2015-01-22 12:15:59 +01:00
2013-10-24 17:17:04 +02:00
2013-11-13 20:21:46 +01:00
2014-11-18 18:23:03 +01:00
2015-02-09 12:44:13 +01:00
2014-10-09 09:14:13 +02:00
2012-11-30 17:47:23 +01:00
2015-01-21 16:28:49 +10:30
2014-08-26 13:45:52 -04:00
2015-01-22 12:16:01 +01:00
2012-09-26 15:44:57 +02:00
2015-01-22 12:16:01 +01:00
2014-11-03 13:29:47 +01:00
2015-02-12 18:54:14 -08:00
2012-11-30 17:47:28 +01:00