powerpc/mm: Fix build of Book3E/64 with 64K pages
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:07:52 +0000 (15:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Jul 2016 06:33:26 +0000 (16:33 +1000)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/nohash/64/pgtable-64k.h

index 570fb30be21c0bddd061f86a156b52080b3dcff1..908324574f7704f12f5c6862a3332a1bc0139a1a 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef __ASSEMBLY__
 #define PTE_TABLE_SIZE PTE_FRAG_SIZE
 #define PMD_TABLE_SIZE (sizeof(pmd_t) << PMD_INDEX_SIZE)
+#define PUD_TABLE_SIZE (0)
 #define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
 #endif /* __ASSEMBLY__ */