1 #ifndef _I386_PGALLOC_2LEVEL_H
2 #define _I386_PGALLOC_2LEVEL_H
5 * traditional i386 two-level paging, page table allocation routines:
6 * We don't have any real pmd's, and this code never triggers because
7 * the pgd will always be present..
9 #define pmd_alloc_one_fast() ({ BUG(); ((pmd_t *)1); })
10 #define pmd_alloc_one() ({ BUG(); ((pmd_t *)2); })
11 #define pmd_free_slow(x) do { } while (0)
12 #define pmd_free_fast(x) do { } while (0)
13 #define pmd_free(x) do { } while (0)
14 #define pgd_populate(pmd, pte) BUG()
16 #endif /* _I386_PGALLOC_2LEVEL_H */