diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2015-02-11 18:26:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 20:06:03 -0500 |
commit | 3ae3ad4e639234a43fd3997887524d2e5345fa76 (patch) | |
tree | 3e10581341dd5fe3bf7c97b719226654bf423048 /arch/microblaze | |
parent | 21afa38eed655def15475b76681fa006c435b9de (diff) |
microblaze: define __PAGETABLE_PMD_FOLDED
Microblaze uses custom implementation of PMD folding, but doesn't define
__PAGETABLE_PMD_FOLDED, which generic code expects to see. Let's fix it.
Defining __PAGETABLE_PMD_FOLDED will drop out unused __pmd_alloc(). It
also fixes problems with recently-introduced pmd accounting.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h index 91b9b46fbb5d..c6b6af4ca2a0 100644 --- a/arch/microblaze/include/asm/pgtable.h +++ b/arch/microblaze/include/asm/pgtable.h | |||
@@ -61,6 +61,8 @@ extern int mem_init_done; | |||
61 | 61 | ||
62 | #include <asm-generic/4level-fixup.h> | 62 | #include <asm-generic/4level-fixup.h> |
63 | 63 | ||
64 | #define __PAGETABLE_PMD_FOLDED | ||
65 | |||
64 | #ifdef __KERNEL__ | 66 | #ifdef __KERNEL__ |
65 | #ifndef __ASSEMBLY__ | 67 | #ifndef __ASSEMBLY__ |
66 | 68 | ||